Win a copy of liveProject: Build an ML Recommender System this week in the Artificial Intelligence and Machine Learning forum!
    Bookmark Topic Watch Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic