
What a gr8 timing to post this question.
I just used JAXP to execute a similar job. Let me explain how?
My requirement was to find out unique keys from 31 text files...representing 30 days
e.g. key value
-------------------------------------------------------------
"http://www.abhijit.com 5"
"URL=http://www.you.com 2"
and now write a .CSV file so that the unique keys were on the Y-axis and the values on the X-axis each one under the date for the month..
e.g
---------------------.CSV----------------------------------------
URL,1,2,3,4,5,6,7,8,9,10...
'http://www.abhijit.com,5,2,3,4,5,6,7....'
'http://www.you.com,2,3,4,5,6,7....'
now the xml file had a structure like
<month>
<url value="http://www.abhijit.com">
<day1>5</day1>
<day2>2</day2>
<day3>1</day3>
<day4>5</day4>
<day5>7</day5>
<day6>1</day6>
.
.
</url>
<url value="http://www.you.com">
<day1>2</day1>
.
.
</url>
</month>
and I loaded this file as a dom tree.
read each node, got its child node, wrote the value of the attribute "value" to a text file and wrote the values of all the text nodes below the url node seperated by commas after it.
I iterated till the end of the tree and thats it!
It was all quite recursive.
Want to know more...get in touch with me!

Abhijit
------------------
abhijit from pune.
Ability alone is not enough for success,it must be sparked by ambition and sustained with determination [This message has been edited by Abhijit Kulkarni (edited August 28, 2001).]
[This message has been edited by Abhijit Kulkarni (edited August 28, 2001).]
[This message has been edited by Abhijit Kulkarni (edited August 28, 2001).]