There are two example on this page of how to use transform. http://www.kickjava.com/1942.htm
Bryan LaPlante ---------- Original Message ----------- From: Monkeyden <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Wed, 24 May 2006 15:22:36 -0400 Subject: Re: [OT] utility to print DOM object of XML file > The beautiful thing is you dont need JDom or Xerces if you have JDK1.4. I'm > not going to give you the answer, as that wouldn't truly help either one of > us, but I will tell you that the answer can be found in the > javax.xml.transform.Transformer class, which is the fruit of the > TransformerFactory class. > > On 5/24/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > > > > Hi > > Is there a apache or some utility which will print XML file if i provide a > > document object. > > I am writing a program to build XML file in memory and then write it to a > > file, i need this utility for debug so i can print the xml file in > > standard > > output, (screen or log file) . > > I am using java 1.4.2 , and dont have JDOM or xerces, > > Or does anyone have a code that will print the dom object from memory > > I just dont wanna write one more code to do this work > > > > Ashish > > > > ------- End of Original Message ------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]