X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=helm%2FDEVEL%2Fpxp%2Fpxp%2Fdoc%2Fmanual%2Fhtml%2Fc533.html;fp=helm%2FDEVEL%2Fpxp%2Fpxp%2Fdoc%2Fmanual%2Fhtml%2Fc533.html;h=0000000000000000000000000000000000000000;hp=c58e6ff3e0a5535a538a782e0c945e0eeba8db52;hb=3ef089a4c58fbe429dd539af6215991ecbe11ee2;hpb=1c7fb836e2af4f2f3d18afd0396701f2094265ff diff --git a/helm/DEVEL/pxp/pxp/doc/manual/html/c533.html b/helm/DEVEL/pxp/pxp/doc/manual/html/c533.html deleted file mode 100644 index c58e6ff3e..000000000 --- a/helm/DEVEL/pxp/pxp/doc/manual/html/c533.html +++ /dev/null @@ -1,234 +0,0 @@ -Using PXP
The PXP user's guide
PrevNext

Chapter 2. Using PXP

Table of Contents
2.1. Validation
2.2. How to parse a document from an application
2.3. Class-based processing of the node tree
2.4. Example: An HTML backend for the readme -DTD

2.1. Validation

The parser can be used to validate a document. This means -that all the constraints that must hold for a valid document are actually -checked. Validation is the default mode of PXP, i.e. every document is -validated while it is being parsed.

In the examples directory of the distribution you find the -pxpvalidate application. It is invoked in the following way: - -

pxpvalidate [ -wf ] file...
- -The files mentioned on the command line are validated, and every warning and -every error messages are printed to stderr.

The -wf switch modifies the behaviour such that a well-formedness parser is -simulated. In this mode, the ELEMENT, ATTLIST, and NOTATION declarations of the -DTD are ignored, and only the ENTITY declarations will take effect. This mode -is intended for documents lacking a DTD. Please note that the parser still -scans the DTD fully and will report all errors in the DTD; such checks are not -required by a well-formedness parser.

The pxpvalidate application is the simplest sensible program -using PXP, you may consider it as "hello world" program.


PrevHomeNext
A complete example: The readme DTDUpHow to parse a document from an application
\ No newline at end of file