The DOMRepresentation, writes out the DOM as-is.  Certainly this is great in
most cases.

 

However, it would be nice if there was "pretty-print" option that provided
easy-to-look at XML.  Of course, I can (and probably will) run the DOM
through my own transformation to pretty-print, but it seems like use case
might be a common desire.

My current use case is building a Document with Elements, but no Text nodes,
so the resultant XML is one unreadable line.

 

If there is an existing trivial way to do this, great.  If not, consider
this a feature request.

 

Thanks!

 

Cliff Binstock

Coyote Reporting

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1109135

Reply via email to