XML validation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neerajchoudhary10
    New Member
    • Jan 2009
    • 1

    XML validation

    how to validate XMl injava
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by neerajchoudhary 10
    how to validate XMl injava
    If you're using SAX parsers you can make the SAXParserFactor y create validating parsers. Read the API documentation.

    kind regards,

    Jos

    Comment

    • jkmyoung
      Recognized Expert Top Contributor
      • Mar 2006
      • 2057

      #3
      What is your main task? Is it to simply validate the xml? If so I would recommend using a SAX parser. If you plan to do more modifications of the xml after verifcation and searching of the xml I recommend a DOM parser.

      Comment

      Working...