ppt:clean

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

Summary

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.

Example

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