Bookmark Topic Watch Topic
 
friki data migration
Ranch Hand
Posts: 772
  • 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
HowToPrettyPrintXmlWithJava 
HowToPrettyPrintXmlWithXsl 
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



CodeBarn
 
    Bookmark Topic Watch Topic
  • New Topic