XML Tutorials - Herong's Tutorial Examples - v5.25, by Herong Yang
Creating XML Documents in Tree View
This section provides a tutorial example on how to create an XML document by inserting elements, attributes and text interactively in XML Notepad 2007 Tree View.
If you are create an XML file, you can use "XML Notepad 2007" interactively by inserting elements or attributes one at a time.
1. Run "XML Notepad 2007". You see an empty "Tree View" showing up.
2. Click menu "Inert" > "Element" > "After", then type in "dictionary" to insert the root element in the "Tree View".
3. Select "dictionary" and Click menu "Inert" > "Element" > "Child", then type in "word" to insert a child element inside "dictionary".
4. Select "word" and Click menu "Inert" > "Element" > "Child", then type in "name" to insert a child element inside "word".
5. Select "name" and Click menu "Inert" > "Text" > "Child", then type in "XML" to insert a text content inside "name".
6. Continue to insert more elements, attributes and text to finish a simple XML document with a tree view shown in the picture:
7. Save the XML document as dictionary.xml using menu "File" > "Save as...".
Table of Contents
Introduction of XML (eXtensible Markup Language)
DOM (Document Object Model) Programming Interface
SAX (Simple API for XML) Programming Interface
DTD (Document Type Definition) Introduction
Validating an XML Document against the Specified DTD Document Type
XSD (XML Schema Definition) Introduction
Validating XML Documents Against Specified XML Schemas
XSL (Extensible Stylesheet Language) Introduction
XSLT (XSL Transformations) Introduction
XSLT Elements as Programming Statements
Control and Generate XML Element in the Result
PHP Extensions for XML Manipulation
Processing XML with Python Scripts
Downloading and Installing XML Notepad
►Creating XML Documents in Tree View
Viewing XML Documents in Source Code
Converting XML in Pretty Print Format
XSLT Transformation and HTML View
XML Tools Plugin for Notepad++
XML Plugin Packages for Atom Editor