JavaRanch Home
 
Front Page FAQs Ranchers Categories Recent Changes To Do Upload

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
Front Page FAQs Ranchers Categories Recent Changes To Do Upload
Last Edited: 27 September 2007 What's Changed?
READ ONLY
 
Copyright © 1998-2008 Paul Wheaton | Home | Contact Us | Privacy | Register