Skip to content

How do I read data in a XML file in Java?

I need to read an XML file in java. The XML file has a reference to an xsd in it’s <!DOCTYPE..> element.
Something like noNameSpace = "D:\Xsd.xsd"
I need to read this reference using Java.
How do I do it?
SAXParser is the parser im using…

3 Comments

  1. frappe179 wrote:

    use JAXB

    Sunday, January 3, 2010 at 3:24 am | Permalink
  2. SamWiseGamgee wrote:

    What parser do you want to use? This is an important decision for you to make.

    Sunday, January 3, 2010 at 3:24 am | Permalink
  3. BearWhoWalksLikeaMan wrote:

    Might try closeing one eye and squinting

    Sunday, January 3, 2010 at 3:24 am | Permalink

Post a Comment

Your email is never published nor shared.