|
|
Java SAX Examples

-
XML Well-Formed Verifier
In this section we are going to develop a simple java
program that determines whether a XML document is well-formed or not.
-
Get XML Elements
In this section you will learn to develop a simple java program
to get the names of all elements contained in the XML document .
-
Get Data From the XML File
Here you will learn to
retrieve data from XML file using SAX parser. We use the JAXP
APIs to retrieve data from XML document .
-
XML Count Elements
Here providing you an example that counts the number of
tags <Emp_Id> that are used in your XML document using the SAX
parser.
-
XML Error Checking and
Locating
In this section, you will learn how to check and locate
an error in the XML document and error position.
-
Getting Attributes And
its Value
In this section, you will learn to retrieve the attributes and their value
from a XML document using the SAX APIs.
-
Locating the
Notified Events
In this section, you will learn to locate (line and column number) the
generated events while parsing a XML file using SAX APIs.

|
|
Facing Programming Problem?
|
| Add This
Tutorial To: |
Del.icio.us |
Digg |
Google |
Spurl |
Blink |
Furl |
Simpy |
Y! MyWeb |
|
|
Current Comments
1 comments so far (post your own) View All Comments Latest 10 Comments:Very good tutorial. It would be more nice if give brief description of the methods and technique being used in java files
Posted by Zafar on Friday, 12.21.07 @ 11:01am | #43194