ppt:clean( $uri as xs:string, $doc as node()? ) as node()
Clean up any conversion artifacts or other infelicities, putting each slide into its own div element.
Parameters | |
---|---|
uri | The source URI of the converted presentation. |
doc | The XHTML produced by conversion of a Microsoft Powerpoint presentation. |
xquery version "1.0-ml"; import module namespace ppt = "http://marklogic.com/cpf/powerpoint" at "/MarkLogic/conversion/powerpoint.xqy"; ppt:clean("my_ppt.xhtml",fn:doc("my_ppt.xhtml"))