Loading TOC...

MarkLogic Server 11.0 Product Documentation
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"))
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.