The xtpxlib-xoffice component contains the following XProc 3.0 pipelines:

Module/PipelineDescription
create-docx.xplTakes as input the same kind of (unspecified) XML as create by docx-to-xml.xpl and tries to turn this into a Word file. Unfinished and experimental (for instance: tables are not (yet) supported)!
docx-to-xml.xplExtracts the contents of a Word (.docx) file in a more useable XML format (unspecified). Somewhat experimental and unfinished!
modify-xlsx.xplTakes an input/template Excel (.xlsx) and a modification specification and from this creates a new modified Excel file that merges these two sources.
xlsx-to-xml.xplExtracts the contents of an Excel (.xlsx) file in a more useable XML format.

3.1 XProc (3.0) pipeline: create-docx.xpl

File: xpl3/create-docx.xpl

Type: xtlxo:create-docx

Takes as input the same kind of (unspecified) XML as create by docx-to-xml.xpl and tries to turn this into a Word file. Unfinished and experimental (for instance: tables are not (yet) supported)!

PortTypePrimary?Description
sourceinyesThe XML to convert into .docx.
resultoutyesThe output is identical to the input but with @timestamp, @docx-href-in and @docx-href-out added to the root element.
OptionTypeRq?DefaultDescription
docx-href-inxs:stringyesURI of the input (template) .docx file to process
docx-href-outxs:stringyesURI of the output .docx file.

3.2 XProc (3.0) pipeline: docx-to-xml.xpl

File: xpl3/docx-to-xml.xpl

Type: xtlxo:docx-to-xml

Extracts the contents of a Word (.docx) file in a more useable XML format (unspecified). Somewhat experimental and unfinished!

PortTypePrimary?Description
resultoutyesThe resulting XML document.
OptionTypeRq?DefaultDescription
xlsx-hrefxs:stringyesDocument reference of the .docx file to process (must have file:// in front).

3.3 XProc (3.0) pipeline: modify-xlsx.xpl

File: xpl3/modify-xlsx.xpl

Type: xtlxo:modify-xlsx

Takes an input/template Excel (.xlsx) and a modification specification and from this creates a new modified Excel file that merges these two sources.

PortTypePrimary?Description
sourceinyesThe modification specification.
resultoutyesThe output is identical to the input but with @timestamp, @xlsx-href-in and @xlsx-href-out added to the root element.
OptionTypeRq?DefaultDescription
xlsx-href-inxs:stringyesURI of the input (template) .xlsx file to process
xlsx-href-outxs:stringyesURI of the output .xlsx file.

3.4 XProc (3.0) pipeline: xlsx-to-xml.xpl

File: xpl3/xlsx-to-xml.xpl

Type: xtlxo:xlsx-to-xml

Extracts the contents of an Excel (.xlsx) file in a more useable XML format.

PortTypePrimary?Description
resultoutyesThe resulting XML document.
OptionTypeRq?DefaultDescription
xlsx-hrefxs:stringyesDocument reference of the .xlsx file to process (must have file:// in front).