struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Monkeyden <>
Subject Re: [OT] utility to print DOM object of XML file
Date Wed, 24 May 2006 19:22:36 GMT
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 <> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message