This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Doubts in JAXP1.2" Watch "Doubts in JAXP1.2" New topic
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
You can find some basic examples of JAXP code here and here.


Ping & DNS - my free Android networking tools app
 
jQuery in Action, 2nd edition
 
subject: Doubts in JAXP1.2