MarkLogic Server 11.0 Product Documentation
excel:clean

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

Summary

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.

Example

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