Hi Wei,

you could take a look at the 'cookbook', you can find it at http://www.dom4j.org/
Also, take a look at the SAXValidatorDemo example in the samples/validate/ directory.


is this the information you are searching for ?

regards,
Maarten

Wei Hsu wrote:

Hi all,



I was reading the FAQ when I came upon this:



"If you are validating an existing dom4j document then we recommend you try MSV as it avoids turning the document into text and then parsing it again - MSV can work purely off of SAX events generated from the dom4j document."



Does anyone else have any experience doing this or is there a tutorial/example? Does that mean I can actually validate existing org.dom4j.Document types somehow? How can one go about doing that? I was looking at the MSV user guide, but the examples make it seems like MSV can only validate at parse-time. Does it just mean validation can only take place during the parsing of the xml before turning it into the dom4j document representation?



Thanks in advance for your help!



Wei




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to