Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • Mark post as helpful
  • send pies
  • Report post to moderator

Code ExamplesDescription
ByteArrayToDocumentHow to parse a byte array of XML into a DOM Document object
DocumentToByteArrayHow to get a byte array of a given DOM object
DocumentToStringHow to get a string representation of a given DOM object
StringToDocumentHow to parse a string of XML into a DOM Document object
GetElementValueByNameUsingDomHow to retrieve the element value from a DOM Document object given the element name
HowToValidateXmlAgainstSchemaSpecific to the Xerces parser
HowToValidateXmlAgainstAnySchemaUsing JAXP; also works for DTD and Relax-NG schemas
SAXCreateXPathCode that uses the SAX API to create XPath expressions for each element encountered in an XML file

    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!