Editing XML documents
Although Namo WebEditor cannot create new XML documents, you can use it to edit existing ones.
To open an XML document
- Click the Namo button, and then click Open.
- Click the Files of type box and select XML Files or All Files.
- Find the desired XML file, select it, and then click Open.
Alternatively, you can simply drag an XML file from Windows Explorer to Namo WebEditor.
In Edit mode, Namo WebEditor displays an XML document as a tree, similar to the folder tree in Windows Explorer. The image below shows part of an example XML document as it appears in Edit mode.
Part of an XML document in Edit mode
Various icons represent different kinds of nodes in the document tree:
|
Element |
|
Text (PCDATA) |
|
CDATA section |
|
Processing Instruction |
|
Entity reference |
|
Comment |
To collapse a node, hiding its child nodes, click the minus sign to the left of the node’s icon. To expand a node, click the plus sign.
In HTML mode, Namo WebEditor displays the source text of an XML document. You can edit the XML source directly, as in a text editor.
In this section
Previewing and validating an XML document