Parse the XML file and get a reference to a Document
object. On the document object call the
getElementsByTagName(java.lang.String tagname) this
will return an NodeList. Iterate through this node
list and recreate a new DOM structure filtered values
and write the DOM structure back to the file system.
I can send you a sample code if you tell me that
parser that you are using, is it Xerces or is it XML4J