Hi All,

Im trying to store a html with empty tags say

<html>
<span class="someclass"></span>
<span class="someclass">    </span>     <span class="someclass"></span>
<span class="someclass">Some text</span>
</html>

After storing in marklogic I get

<html>
<span class="someclass"/>
<span class="someclass"/>
<span class="someclass"/>
<span class="someclass">Some text</span>
</html>


It is also stripping the spaces and line breaks
And this is causing issues while rendering as html in a few browsers
Is there a way I can store it "as it is"??
I've tried

declare boundary-space preserve;

declare option xdmp:output "indent=no";

 but still no luck

OTHER THAN CDATA/ Binary is there any other way to do this?

Any help is appreciated

Thanks in advance!

Raghu
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to