Using XML, you can create any XML document that defines elements and attributes to meet your needs for them. Also, with the concept of the namespace introduced, you can now create a compound XML document that uses multiple XML vocabularies in a single document. You could create and edit these XML documents only in the following two ways:
- Using an Editor to Enter Tags Directly
You use a text editor or XML editor that can help you enter tags to create and edit your XML document. The document you are editing is displayed along with the tags. You directly work with tags to add or delete elements from the document. To do so, you must have in-depth knowledge of definitions for elements and attributes included in your XML vocabulary. You can, however, edit different types of XML documents and compound XML documents in a single editor. You can also modify the structure of your XML document easily. - Using an Editing Tool Specific to Each Type of XML Document
When you fill in and edit the provided fields appropriately and confirm your editing, the tool outputs the XML document. In order to edit XML documents, you aren't required to have knowledge of elements and attributes. But you must have a specific editing tool for your type of XML vocabulary used in the XML document to be edited. When you edit a compound XML document, the editing tool must support all types of XML vocabulary. You must make changes to your tool itself to modify the structure of your XML document.
However, for the ideal environment for creating and editing an XML document, all of the following conditions are required.
- Editing every type of XML document
- No thought required for elements and attributes used in XML document
- Natural and reasonable editing operation
Also, for the created XML document, it is necessary to save it not only within a file system, but also in network storage or under server program environment. When trying to implement all these demands in one application, it is easy to imagine that the user difficulty because of the large number of functions.