I have a string like this:

A title for <placeholder> the product

and I'd like to replace it with

A title for &lt;placeholder&gt; the product

Basically, I want to make the a valid XML text node, fixing greater than,
less than, and ampersands.  I thought I could make xdmp:quote do that, but,
perhaps because it's Friday afternoon, I can't find the right options to
make it work.

Is there any easy solution I can't find?

       Steve
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to