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