[relaxng-user] ? - Is there a way to validate 1 XML record at a time, using the SAX or other parser!

Elliotte Harold elharo at metalab.unc.edu
Tue Jan 11 18:15:03 ICT 2005


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  elharo at metalab.unc.edu
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


More information about the relaxng-user mailing list