On Wed, Feb 25, 2004 at 11:06:48PM -0600, Roger L. Cauvin wrote:
If the XML parser you're using supports TrAX (see
http://www.onjava.com/pub/a/onjava/2001/07/02/trax.html), you can load the
XML file into memory once by transforming it to a SAX or DOM result. Then
you can apply any number of transformations to it.
I'm learning how to do this right now. If you are not familiar with java
(as I am not), this doesn't come easy.
However, have a look at Sun's documentaion on this:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXPIntro.html#wp65584
Also, download the Xalan xslt processor. With the download you will find
many good examples.
Paul
--
************************
*Paul Tremblay *
*phthenry(_at_)earthlink(_dot_)net*
************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list