Re: parsing XML file



On Tue, 28 Aug 2007 03:00:15 -0700, Christine Mayer <Dooing@xxxxxx>
wrote, quoted or indirectly quoted someone who said :

I've got an XML file, containing key /value pairs. First of all, I
want to validate the XML file by a XSD
Schema file I have. Finally, I want to read all text nodes and put the
key /value pairs into a HashMap.

see http://mindprod.com/jgloss/xml.html

The Java code to validate with an XSD schema is trivial.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages

  • Re: parsing XML file
    ... I've got an XML file, ... Schema file I have. ... How can I validate the XML file with my XSD Schema? ...
    (comp.lang.java.programmer)
  • Re: Problem with ValidationEventHandler
    ... I've got a xml file and xsd with only one namespace - ... xsd the validationeventhandler show me only the first error. ... validate XML node by node, and to skip over nodes when you want (e.g. ...
    (microsoft.public.dotnet.languages.csharp)
  • Parsing XML against multiple complex XSD
    ... I have an XML file that I need to validate in code ... The schema definition is spread accross multiple XSD files ...
    (comp.lang.java.programmer)
  • Problem with ValidationEventHandler
    ... I've got a xml file and xsd with only one namespace - ... When I'm trying to validate this Xml with my ... xsd the validationeventhandler show me only the first error. ...
    (microsoft.public.dotnet.xml)
  • Problem with ValidationEventHandler
    ... I've got a xml file and xsd with only one namespace - ... When I'm trying to validate this Xml with my ... xsd the validationeventhandler show me only the first error. ...
    (microsoft.public.dotnet.languages.csharp)