[MarkLogic Dev General] pretty print

Paul M pjmaip at yahoo.com
Fri May 9 11:16:12 PDT 2008


Is there a built-in api that changes:
<a><b>123</b><c>456<d>789</d></a>

to this
<a>
   <b>123</b>
   <c>456
      <d>789</d>
</a>

Takes flat output and makes it more legible. This would be for both debug xdmp:log as well as http and cq xml report output.  I know ML has tidy and such, but I would want a more generic function. Easy enough to write, but if someone has one, or if there is an api....

thanks!



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20080509/08849e7f/attachment.html


More information about the General mailing list