MarkLogic 10 Product Documentation
msword:clean

msword:clean(
   $uri as xs:string,
   $doc as node()?
) as node()

Summary

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.

Example

  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"))
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy