The steps defined in this library provide information about files and the ability to
manipulate them. All implementations are required to support file:
scheme URIs. Support for other schemes is implementation-defined.
All href
attributes are made absolute with respect to the element on
which they are specified.
Local Name | Namespace URI | Description |
add-xml-base | http://www.daisy.org/ns/pipeline/xproc | Does the same as p:add-xml-base, but has an additional option called root to omit the xml:base attribute on the document element if the input does not have an xml:base attribute on the document element either. |
assert-xml-declaration | http://www.daisy.org/ns/xprocspec | expect example: <c:result version="1.0" encoding="UTF-8" standalone="true"/> expect attributes: - the version attribute is required - empty or missing attributes means that those attributes must not be present in the xml declaration |
copy-resource | http://www.daisy.org/ns/pipeline/xproc | |
copy | http://www.daisy.org/ns/pipeline/xproc | |
cwd | http://www.daisy.org/ns/pipeline/xproc | |
data | http://www.daisy.org/ns/pipeline/xproc | Step that behaves like a p:identity with a p:data input, with an option to set the href. Makes use of p:http-request. |
delete | http://www.daisy.org/ns/pipeline/xproc | |
directory-list | http://www.daisy.org/ns/pipeline/xproc | The p:directory-list step will return the contents of a single directory. The px:directory-list step will process a directory and it's subdirectories recursively. See also: http://xproc.org/library/#recursive-directory-list. |
file-peek | http://www.daisy.org/ns/pipeline/xproc | |
file-xml-peek | http://www.daisy.org/ns/pipeline/xproc | |
head | http://www.daisy.org/ns/pipeline/xproc | |
info | http://www.daisy.org/ns/pipeline/xproc | |
mkdir | http://www.daisy.org/ns/pipeline/xproc | |
move | http://www.daisy.org/ns/pipeline/xproc | |
normalize-document-base | http://www.daisy.org/ns/pipeline/xproc | |
normalize-uri | http://www.daisy.org/ns/pipeline/xproc | |
read-doctype | http://www.daisy.org/ns/pipeline/xproc | Read the doctype declaration of an XML file. |
read-xml-declaration | http://www.daisy.org/ns/pipeline/xproc | Example usage: <!-- provide a single document on the primary input port --> <px:read-xml-declaration/> Example output: <c:result xmlns:c="http://www.w3.org/ns/xproc-step" standalone="yes" encoding="UTF-8" has-xml-declaration= [...] |
set-base-uri | http://www.daisy.org/ns/pipeline/xproc | Changes the base URI of the document. px:set-base-uri has an effect on all elements that do not have an ancestor with an absolute xml:base, unless that element is the root element. Whether an element has a different base URI than its parent does not matter as long as this is not made expli [...] |
set-doctype | http://www.daisy.org/ns/pipeline/xproc | Sets, or deletes, the doctype of a file. If `doctype` is the empty string, the doctype will be deleted. It is an error if `doctype` does not match the regex `^<!DOCTYPE\s+\w+\s*(|SYSTEM\s+("[^"]*"|'[^']*')|PUBLIC\s+("[\s\w\-'()+,\./:=?;!*#@$_%]*"|'[\s\w\-()+,\./:=?;!*#@$_%]*')\s+("[^ [...] |
set-xml-declaration | http://www.daisy.org/ns/pipeline/xproc | Sets, or deletes, the xml declaration of a file. If `xml-declaration` is the empty string, the xml declaration will be deleted. It is an error if `xml-declaration` does not match the regex `^<\?xml[ \t\r\n]+version[ \t\r\n]*=[ \t\r\n]*(''1\.[0-9]+''|"1.[0-9]+")([ \t\r\n]+encoding[ \t [...] |
tail | http://www.daisy.org/ns/pipeline/xproc | |
tempdir | http://www.daisy.org/ns/pipeline/xproc | Returns a <c:result> containing the absolute URI of a temporary directory, which is guaranteed not to already exist. The directory is created inside the directory specified by href. If href is not specified then the system-dependent default temporary-file directory will b [...] |
tempfile | http://www.daisy.org/ns/pipeline/xproc | |
touch | http://www.daisy.org/ns/pipeline/xproc |