[xml] Valid example

Date view Thread view Subject view Author view

From: Stephane Conversy (Stephane.Conversy@lri.fr)
Date: Wed Sep 01 1999 - 09:26:44 EDT


I succeeded in parsing and validating a file.
However I used hidden functions in parser.c,
because I wanted to redirect errors messages.

I need a simple example that do this thing:

// begin

build an xmlDtdPtr from a .dtd file
redirect error msgs

for each file:
    build a xmlDocPtr without validating it
    validate it with the xmlDtdPtr

// end

It will prevent the parser to parse the external
dtd each time I want to parse and validate a xml file.

    stef

--
Stéphane Conversy
http://www-ihm.lri.fr/~conversy/
mailto:conversy@lri.fr

---- Message from the list xml@rufus.w3.org Archived at : http://rufus.w3.org/veillard/XML/messages to unsubscribe: echo "unsubscribe xml" | mail majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:46 EDT