We have included some example files in the XMLwriter/Projects/Examples
directory to help you investigate XMLwriter's functionality.
The example files are in the example project Examples.xwp. If you are not sure
how to open an existing project in XMLwriter, please see
How to Open an Existing Project.
Examples.xwp - Library directory:
Let's investigate XMLwriter's functionality using
Library.xml:
-
Expand the Library directory in Project View by clicking on
the "+" next to the Library folder.
-
Open Library.xml by double-clicking on its filename in Project
View.
-
Viewing Library.xml's syntax in the document window, you can see that
it has an associated XSL stylesheet (Library.xsl) and XML Schema
(LibrarySchema.xml). The stylesheet is used to format the
XML, while the XML Schema is used to validate the XML.
-
Check Library.xml's validity (see
How to Validate an XML
File).
-
Preview Library.xml in the internal browser (see
How to Preview a File
in the Internal Browser).
- Convert Library.xml's XML to HTML, by performing XSL conversion
(see How to Convert an XML
File Using XSL).
LibraryCss.xml is an example of how an XML document can be formatted using
CSS.
-
Open LibraryCss.xml and preview it in the internal browser (see
How to Preview a File
in the Internal Browser).
-
Tip: You can preview LibraryCss.xml without opening it by
right-clicking on LibraryCss.xml in Project View, and selecting
the Preview context menu item.
LibrarySchema.xml is an example of an XML Schema. Let's investigate
TagBar's functionality using this file:
Examples.xwp - Passport directory:
The Passport directory contains examples of internal and external DTD subsets.
Tips on working with projects:
-
You can perform batch validation/conversion on the XML files in a project (see
How to Perform
Batch Validation/Conversion).
-
Right-clicking on the project name/folder/filename in Project View displays
shortcut menus.
If you want to learn more about the XML syntax have a look at our
XML Guide, or, go to our online
Links
page to find helpful XML-related web links.