This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubts in JAXP1.2

 
Kalai Selvi
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JAXP1.2, How do i

1. create an instance of DOM Parser?

2. create an instance of SAX Parser?

3.How is an attribute represented in SAX an DOM Parsers?

4.How to detect a non-fatal error in an XML file, for a DOM Parser?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find some basic examples of JAXP code here and here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic