7 CONTENT="Modular DocBook HTML Stylesheet Version 1.46"><LINK
9 TITLE="The PXP user's guide"
10 HREF="index.html"><LINK
15 TITLE="A complete example: The readme DTD"
16 HREF="x468.html"><LINK
18 TITLE="How to parse a document from an application"
19 HREF="x550.html"><LINK
22 HREF="markup.css"></HEAD
41 >The PXP user's guide</TH
75 >Chapter 2. Using <SPAN
89 HREF="c533.html#AEN536"
95 >How to parse a document from an application</A
100 >Class-based processing of the node tree</A
105 >Example: An HTML backend for the <I
122 >The parser can be used to <I
125 > a document. This means
126 that all the constraints that must hold for a valid document are actually
127 checked. Validation is the default mode of <SPAN
130 >, i.e. every document is
131 validated while it is being parsed.</P
136 > directory of the distribution you find the
140 > application. It is invoked in the following way:
143 CLASS="PROGRAMLISTING"
144 >pxpvalidate [ -wf ] <TT
152 The files mentioned on the command line are validated, and every warning and
153 every error messages are printed to stderr.</P
155 >The -wf switch modifies the behaviour such that a well-formedness parser is
156 simulated. In this mode, the ELEMENT, ATTLIST, and NOTATION declarations of the
157 DTD are ignored, and only the ENTITY declarations will take effect. This mode
158 is intended for documents lacking a DTD. Please note that the parser still
159 scans the DTD fully and will report all errors in the DTD; such checks are not
160 required by a well-formedness parser.</P
165 > application is the simplest sensible program
169 >, you may consider it as "hello world" program. </P
212 >A complete example: The <I
228 >How to parse a document from an application</TD