Editing XML documents

Although Namo WebEditor cannot create new XML documents, you can use it to edit existing ones.

To open an XML document
  1. Click the Namo buttonNamo Web Editor button namo Editing XML documents, and then click Open.
  2. Click the Files of type box and select XML Files or All Files.
  3. 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.

Namo Web Editor 8.xml.1 Editing XML documents

Part of an XML document in Edit mode

Various icons represent different kinds of nodes in the document tree:

Namo Web Editor mark xml element Editing XML documents

Element

Namo Web Editor mark xml text Editing XML documents

Text (PCDATA)

Namo Web Editor mark xml cdata Editing XML documents

CDATA section

Namo Web Editor mark xml pi Editing XML documents

Processing Instruction

Namo Web Editor mark xml entity Editing XML documents

Entity reference

Namo Web Editor mark xml comment Editing XML documents

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

Working with XML elements

Working with XML attributes

Previewing and validating an XML document

Editing XML documents