
msword:clean( $uri as xs:string, $doc as node()? ) as node()
Clean up any conversion artifacts or other infelicities.
| Parameters | |
|---|---|
| uri | The source URI of the converted document. |
| doc | The XHTML produced by conversion of a Microsoft Word document. |
xquery version "1.0-ml";
import module namespace msword = "http://marklogic.com/cpf/msword"
at "/MarkLogic/conversion/msword.xqy";
msword:clean("my_doc.xhtml",fn:doc("my_doc.xhtml"))
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.