XML on TPF: A Short Tutorial Page 6 of 14
Create the Sample XML Data Based on the XML Schema
The same sample data can be written in an XML document that is based on the XML Schema rather than the sample DTD. It begins with the XML declaration statement, which includes the encoding used in the document:
<?xml version="1.0" encoding="ISO-8859-1"?>
Next, add the statement to declare the root element of the XML document (PNRroot) and the XML Schema document on which the XML document is written (pnrs.xsd):