dcsimg
Validating with DTD
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   balaji_A
Posted On:   Thursday, April 29, 2004 09:21 PM

			
I have one xml file & a DTD in a seperate file.
Now while parsing the xml document using DOM parser or SAX
i want to validate against the DTD which is a seperate
file. How can i do this?
If possible provide me with the code.

Thanks!

Re: Validating with DTD

Posted By:   Finnbarr_Murphy  
Posted On:   Wednesday, May 5, 2004 08:28 AM

You need to use a validating parser. Do a Web
search for "java XML validating parser" and
you will find plenty of information and examples.
About | Sitemap | Contact