Using a DOM-supporting programming language, such as JavaScript, one can maneuver within the XML data to perform queries, processing, or modifications.
The March 2001 Troubleshooting Professional Magazine is entirely devoted to an XML Programming Tutorial on the Linux platform using Xerces-Java. DOM, SAX, DTD's.