Creating new Documents
Amaya allows you to create both local or remote documents. Three types of
documents are available:
To create a document:
- Choose New from the File menu, and
then select the file type that you want to create.
- At the prompt, type the URI or the local path name of the new document
(a default name is assigned to the document if no name is specified). You
can use the file browser to find a local directory.
- Choose the location of the new document : Replace current, In new tab
or In new Window.
- If you are creating a new XHTML document:
- Select a charset to encode strings of the document.
Pay attention, this charset should be selected in
accordance with the Web server that will serve the document.
By default .html
pages are served with
iso-8859-1
and .xml
pages are served with
utf-8
.
- Click Open. A new document opens, and a root element
is created.