Is there another way to do this, or do I have to use xdmp:quote?

xdmp:http-put(
  'https://localhost:8012/v1/documents?uri=/mydoc.xml',
  <options xmlns="xdmp:http">
    <authentication method="digest">
      <username>user</username>
      <password>pass</password>
    </authentication>
    <data>{ xdmp:quote(<doc>My document</doc>) }</data>
  </options>
)


0Will

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

Reply via email to