Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubts in JAXP1.2

 
Kalai Selvi
Ranch Hand
Posts: 45
  • 0
  • 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: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find some basic examples of JAXP code here and here.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic