This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Doubts in JAXP1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Doubts in JAXP1.2" Watch "Doubts in JAXP1.2" New topic

Doubts in JAXP1.2

Kalai Selvi
Ranch Hand

Joined: Jan 08, 2007
Posts: 45
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

Joined: Mar 22, 2005
Posts: 42959
You can find some basic examples of JAXP code here and here.
Don't get me started about those stupid light bulbs.
subject: Doubts in JAXP1.2
It's not a secret anymore!