Hi Dave,

I tried below code by creating rest instance in 8020 port and it worked
fine. As i want to implement xpath on the opf content document-filter
didn't work for me eventhough it converted to xhtml format.

Code snippet:
xdmp:document-get("
http://xxxx:8020/v1/documents?uri=/epub/sample/OPS/package.opf";,
       <options xmlns="xdmp:document-get" xmlns:http="xdmp:http">
           <repair>full</repair>
           <format>xml</format>
           <http:authentication>
              <http:username>xxxx</http:username>
              <http:password>xxxx</http:password>
           </http:authentication>
       </options>)

Thanks for your response.

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

Reply via email to