Re: ? - Is there a way to validate 1 XML record at a time, using the SAX or other parser!

Elliotte Harold <[email protected]> Tue, 11 Jan 2005 18:15:03 -0500
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
Bob Kennelly wrote:


> Or if there is another XML 'validator' that can validate 1 XML record at a time, without requiring that the entire XML file be built first?

There are several hacks that could do this, but nothing pretty. Would it 
be possible to hand code the validation logic rather than relying on an 
explicit schema? If so, you could do this in SAX or XOM.

-- 
Elliotte Rusty Harold  [email protected]
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim