• Post Reply Bookmark Topic Watch Topic
  • New 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Apache XML Xerces Parser

 
Ranch Hand
Posts: 503
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All:
I am in the process of learning XML and have the following question regarding the Apache XML Xerces Parser.
Where does one get the documentation? Is there a tutorial?
All I see on the xml.apache.org site is some examples - but none seem to specifically deal with converting XML to DOM. I see an example DOMWriter going from text to XML.
Thanks in advance for your help.
John Coxey
(jpcoxey@aol.com)
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since Sun's JAXP package is likely to become part of the standard Java release, you might as well use it instead of Xerces. There is an online tutorial somewhere around http://java.sun.com/xml/xml_jaxp.html
The JAXP package and Apache XML share a lot of code.
Bill
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
DOM is documented as a (mostly) language-independent facility. Try looking at the http://w3.org and http://www.xml.org websites.
Also, this is probably going to be very useful: http://www.w3.org/TR/2000/WD-DOM-Level-2-HTML-20001113/
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic