Title: RE: [dom4j-user] Validation of dom4j document

Hi Maarten,

The cookbook is an awesome source of information - I was able to find the answer to my question.  Thanks so much!

-Wei

-----Original Message-----
From: Maarten Coene [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 15, 2004 12:31 AM
To: Wei Hsu
Cc: Dom4j-User ([EMAIL PROTECTED])
Subject: Re: [dom4j-user] Validation of dom4j document

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
>

Reply via email to