Hi,
I'm trying to read the contents of an XMl file from my Java class.
Sample:
====================================================
<tag name="First" >
<Line> One </Line>
<Line> Two </Line>
</tag>
<tag name ="Second" >
<Line> Three </Line>
<Line> Four </Line>
</tag>
====================================================
I want to extract info from the tags and after some parsing, display
them as:
From first tag: This is processed info. on lines One, Two
From second tag: This is processed info. on lines Three, Four
As you can see, I dont want anything fancy, just some ability to
specify a file and some specific tags that
I'm interested in and be able to extract info b/w those tags.
1) Is this possible with SAX, I dont see examples dealing with
"specify tags and get info."
2) I maynot be in a position to install the sax jars, are there any
easy ways to do this without SAX?
Thanks,
Prab