Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
XML and Related Technologies
XML library that can 'prettify' XML?
Martijn Verburg
author
Posts: 3285
13
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all,
I'm looking for a Java/XML lib that can take an XML
string
and turn it into a nicely indented XML string, e.g.
<foobar><blah>data</blah></foobar>
<foobar> <blah>data</blah> </foobar>
I'll be doing a Google search naturally, but thought I might as well post here since I work here and all that
Cheers, Martijn,
Twitter
.
Sean Clark
Rancher
Posts: 377
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hey,
The
java
w3c libraries can do that job, I have used them for outputting simple snippets of HTML.
There was a good tutorial on it, one of the first results on google.
Sean
I love this place!
Ulf Dittmer
Rancher
Posts: 43081
77
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The Xerces library has some pretty-fying serializers in the org.apache.xml.serialize package.
http://xerces.apache.org/xerces-j/apiDocs/index.html
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
backslash n is being escaped against my will
Adding html tags to script
How do you compare a string using this...
Nested Map
Castor: Mapping Element not included in Java Class
More...