XML Parser functionality

Hello,

I'm new in java so I would like to ask a question which maybe sounds like "silly".

I have a parser which parses an XML file and saving it as a text file (or in any extension I choose).

I also have a datasource (txt) file as an parameter.

So, I want to send to the output some results of the parsing, like:

- which variables are used in templates expressions.

- which variables used in templates expressions and not used in datasource.

etc.

Any idea how am I gonna do it? Meaning to compare variables defined (actually compare texts) in both files and send the ones I want in output.

[646 byte] By [samfuertea] at [2007-11-27 9:37:47]
# 1
Actually what I would like to know is how am I gonna compare the contents of 2 documents (xml - text) and send the output to another text file.Thanks in advance.
samfuertea at 2007-7-12 23:09:45 > top of Java-index,Java Essentials,Java Programming...