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:

XML Notepad 2007 - Tree View
XML Notepad 2007 - Tree View

7. Save the XML document as dictionary.xml using menu "File" > "Save as...".

Table of Contents

 About This Book

 Introduction of XML (eXtensible Markup Language)

 XML File Syntax

 XML File Browsers

 XML-JSON Document Conversion

 DOM (Document Object Model) Programming Interface

 SAX (Simple API for XML) Programming Interface

 DTD (Document Type Definition) Introduction

 Syntaxes of DTD Statements

 Validating an XML Document against the Specified DTD Document Type

 XSD (XML Schema Definition) Introduction

 Syntaxes of XSD Statements

 Validating XML Documents Against Specified XML Schemas

 XSL (Extensible Stylesheet Language) Introduction

 Java Implementation of XSLT

 XSLT (XSL Transformations) Introduction

 XPath (XML Path) Language

 XSLT Elements as Programming Statements

 Control and Generate XML Element in the Result

 PHP Extensions for XML Manipulation

 Processing XML with Python Scripts

XML Notepad - XML Editor

 What Is XML Notepad

 Downloading and Installing XML Notepad

Creating XML Documents in Tree View

 Viewing XML Documents in Source Code

 Converting XML in Pretty Print Format

 XSD Validation and Error List

 XSLT Transformation and HTML View

 XML Tools Plugin for Notepad++

 XML Plugin Packages for Atom Editor

 XML 1.1 Changes and Parsing Examples

 Archived Tutorials

 References

 Full Version in PDF/EPUB