XML on TPF: A Short Tutorial
JavaScript not Active
This page uses JavaScript. You must activate JavaScript in your browser to ensure you will be able to view all of the information.
XML on TPF: A Short Tutorial Page 9 of 10
Using the Applications
Paul has placed the DTD, the XML Schema, and both sample XML documents in the TPF file system and compiled, linked, and loaded
both applications. He is ready to use the applications. Paul activates his
applications by using the ZFILE command. The applications define the allowable options
for the command:
ZFILE appname [-v= whenvalue ] [-n [-s ]] -e= elname xmldoc
where:
appname is the application that Paul wants to run: domxml or saxxml .
-v is optional and specifies that he wants the XML document validated against a DTD.
whenvalue is the level at which he wants his document validated:
always means that the parser should always try to validate the document.
never means that the parser should never try to validate the document.
auto means that the parser will validate if it detects the specification of a DTD.
The default value is auto .
-n is optional and enables namespace processing.
-s is optional and enables Schema processing. If you are processing a Schema, you must also enable namespace processing by specifying -n .
-e= elname specifies that he wants to display the contents of element elname .
xmldoc is the name of the XML document that he wants to parse: pnrd.xml or pnrs.xml .
For More Information
Back to the Beginning
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
Close This Window.