[jdom-interest] Debugging Output

Eliyahu Hershfeld eliyahu.hershfeld at db.com
Thu Jun 14 10:09:07 PDT 2001


Here is a one line way. Its not as short as you would like and maybe not as easy, but...
try {new XMLOutputter("  ", true).output(doc, System.out);}catch(Exception e){}

EH


---------------------------------------- Message History ----------------------------------------


From: "Alex Rosen" <arosen at silverstream.com>@jdom.org on 06/14/2001 11:14 AM AST

DELEGATED - Sent by:     jdom-interest-admin at jdom.org


To:   <jdom-interest at jdom.org>
cc:
Subject:  RE: [jdom-interest] Debugging Output


I've mentioned before that I think we need a really easy (single-line) way to
dump a Document or Element to System.out, in a readable format for debugging.
This could just be a static method like XMLOutputter.dump().

Alex


_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.




More information about the jdom-interest mailing list