I have yet to find any program that will format XML perfectly. The best thing I have found is to output with no whitespace (so you get one line that is 10 miles long). Then, when necessary, copy and paste it into XML Spy, then have it pretty-print that. Even that is not perfect, but it's the best I've seen yet.

Ed

---

From: "Hellmann Peter (ext) ICM RDC IS VDR RD" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: can XMLSerializer create nice formatted output ?
Date: Wed, 20 Feb 2002 18:37:56 +0100


hi all,

i am using the XMLSerializer with an OutputFormat object. I do serialize a
xml document that has
been previously loaded using DOMParser. After altering the xml document, the
output, the serializer
creates is formatted in a wierd way. Tags that have been deleted show an
empty line in the output
while altered or newly created tags do not line break after the closing tag.
Is there a way to
create a nice formatted output? Thanks for any hints.

kind regards
Peter Brightman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to