JavaRanch Home    
 
This page:         last edited 27 September 2007         What's Changed?         Edit
PROTECTED

Code Barn Xml   

Code ExamplesDescription
ByteArrayToDocument How to parse a byte array of XML into a DOM Document object
DocumentToByteArray How to get a byte array of a given DOM object
DocumentToString How to get a string representation of a given DOM object
StringToDocument How to parse a string of XML into a DOM Document object
GetElementValueByNameUsingDom How to retrieve the element value from a DOM Document object given the element name
HowToPrettyPrintXmlWithJava  
HowToPrettyPrintXmlWithXsl  
HowToValidateXmlAgainstSchema Specific to the Xerces parser
HowToValidateXmlAgainstAnySchema Using JAXP; also works for DTD and Relax-NG schemas
SAXCreateXPath Code that uses the SAX API to create XPath expressions for each element encountered in an XML file


CodeBarn


JavaRanchContact us — Copyright © 1998-2014 Paul Wheaton