Do I need to make any setting change in ADMIN API to invoke   "xdmp:xslt-invoke"

This running fine if I execute from CQ, but from application is giving error.

Same XSLT same DOCX is working fine in one env but failing in another , we are 
in ML (5.0-1.2)

I know there is some update in 5.0.2 , but it is working in one env with ML 
(5.0-1.2),

Belwo code is working fine in CQ, but giving below error in app


let $transformed_doc as document-node()? :=
xdmp:xslt-invoke("/DocX2Html.xslt",
fn:doc("/docsIn/1549621_docx_parts/word/document.xml")/node())
return $transformed_doc



cpf:failure /docsIn/1549621_docx_parts/word/document.xml executing 
http://marklogic.com/states/runsmerged

Error Occured log !!!
2013-03-08 15:57:50.938 Info: TaskServer: <error:error 
xsi:schemaLocation="http://marklogic.com/xdmp/error error.xsd" 
xmlns:error="http://marklogic.com/xdmp/error"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
2013-03-08 15:57:50.938 Info: TaskServer:   
<error:code>XSLT-XMLNODE</error:code>
2013-03-08 15:57:50.938 Info: TaskServer:   
<error:name>err:XTSE0165</error:name>
2013-03-08 15:57:50.938 Info: TaskServer:   
<error:xquery-version>XSLT</error:xquery-version>
2013-03-08 15:57:50.938 Info: TaskServer:   <error:message>Server unable to 
build stylesheet from non-XML document</error:message>
2013-03-08 15:57:50.938 Info: TaskServer:   <error:format-string>XSLT-XMLNODE: 
(err:XTSE0165) /DocX2Html.xslt -- Server unable to build stylesheet from 
non-XML document</error:format-string>
2013-03-08 15:57:50.938 Info: TaskServer:   
<error:retryable>false</error:retryable>
2013-03-08 15:57:50.938 Info: TaskServer:   
<error:expr>/DocX2Html.xslt</error:expr>
2013-03-08 15:57:50.938 Info: TaskServer:   <error:data/>

~Gubreer



________________________________

NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or 
views contained herein are not intended to be, and do not constitute, advice 
within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and 
Consumer Protection Act. If you have received this communication in error, 
please destroy all electronic and paper copies and notify the sender 
immediately. Mistransmission is not intended to waive confidentiality or 
privilege. Morgan Stanley reserves the right, to the extent permitted under 
applicable law, to monitor electronic communications. This message is subject 
to terms available at the following link: 
http://www.morganstanley.com/disclaimers If you cannot access these links, 
please notify us by reply message and we will send the contents to you. By 
messaging with Morgan Stanley you consent to the foregoing.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to