This page was generated
September  12,  2012
6:01  AM
XQuery & XSLT Built-In & Modules Function Reference

Module: Powerpoint Conversion

The Powerpoint module is part of the conversion processing pipeline. These functions are used to manipulate XHTML derived by converting Microsoft Powerpoint spreadsheets, as part of conversion processing.

To use the Powerpoint module as part of your own XQuery module, include the following line in your XQuery prolog:

import module namespace ppt = "http://marklogic.com/cpf/powerpoint" at "/MarkLogic/conversion/powerpoint.xqy";

You will need to ensure that the Powerpoint module is loaded into the same modules database as the importing module.

The library namespace prefix ppt is not predefined in the server.

Function Summary
ppt:clean Clean up any conversion artifacts or other infelicities, putting each slide into its own div element.
Function Detail
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"))