Hi All,

Can anyone tell me how to preserve space after node closure in xdmp:tidy?

e.g:

xdmp:tidy( "<doc><a>MarkLogic</a*> i*s rocking</doc>" ,
                                                     <options
xmlns="xdmp:tidy">

 <input-xml>true</input-xml>
                                                     </options>)

Output:

<status xmlns="xdmp:tidy">
  <message>No warnings or errors were found.

</message>
</status>
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<a>MarkLogic</a*>i*s rocking</doc>


Expected:

<doc>
<a>MarkLogic</a*> i*s rocking</doc>


Thanks in advance!
Mihir
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to