The xtpxlib-xoffice component contains the following XSLT modules.
Module/Pipeline | Description |
---|---|
excel-conversions.mod.xsl | Excel data specific conversions |
xoffice.mod.xsl | Library with support code for the MS Office file handling. |
excel-conversions.mod.xsl
File: xslmod/excel-conversions.mod.xsl
Excel data specific conversions
Prefix | Namespace URI |
---|---|
xtlxo | http://www.xtpxlib.nl/ns/xoffice |
Variable | Type | Value | Description |
---|---|---|---|
xtlxo:excel-start-date | xs:date | xs:date('1900-01-01') |
Function | Description |
---|---|
xtlxo:excel-date-to-xs-date() | Converts an Excel date integer into an xs:date. |
xtlxo:xs-date-to-excel-date() | Converts an xs:date into an Excel date integer. |
xoffice.mod.xsl
File: xslmod/xoffice.mod.xsl
Library with support code for the MS Office file handling.
Depends on the following XSLT modules from the xtpxlib-common component:
general.mod.xsl
href.mod.xsl
Yet largely undocumented. Use at your own risk.
Prefix | Namespace URI |
---|---|
xtlxo | http://www.xtpxlib.nl/ns/xoffice |
Variable | Type | Value | Description |
---|---|---|---|
xtlxo:relationship-type-comments | xs:string | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments' | |
xtlxo:relationship-type-core-properties | xs:string | 'http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties' | |
xtlxo:relationship-type-custom-properties | xs:string | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties' | |
xtlxo:relationship-type-extended-properties | xs:string | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties' | |
xtlxo:relationship-type-main-document | xs:string | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument' | |
xtlxo:relationship-type-shared-strings | xs:string | 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings' |
Named template | Description |
---|---|
xtlxo:get-properties |
xtlxo:get-properties
Parameter | Type | Rq? | Default | Description |
---|---|---|---|---|
extracted-office-xml | element(xtlcon:document-container) |
|
xtlxo:get-file-root() as element()?
Parameter | Type | Description |
---|---|---|
extracted-office-xml | element(xtlcon:document-container) | |
href-parts | xs:string+ | |
is-mandatory | xs:boolean |
xtlxo:get-file-root-from-relationship-id() as element()?
Parameter | Type | Description |
---|---|---|
extracted-office-xml | element(xtlcon:document-container) | |
basefile-href | xs:string | |
relationship-id | xs:string | |
is-mandatory | xs:boolean |
xtlxo:get-file-root-from-relationship-type() as element()?
Parameter | Type | Description |
---|---|---|
extracted-office-xml | element(xtlcon:document-container) | |
basefile-href | xs:string | |
relationship-type | xs:string | |
is-mandatory | xs:boolean |