Previous Up Next

Standard XProc Steps

Table of Contents

p:add-attribute - Adds a single attribute to the selected element (or elements)
p:add-xml-base - Adds explicit xml:base attributes
p:compare - Compares two documents for equality
p:count - Counts the number of documents that appear in a sequence
p:delete - Deletes matching nodes
p:directory-list - Lists the files, directories, and other contents of a directory on the filesystem
p:error - Causes an error
p:escape-markup - Escapes XML markup
p:exec - Runs an external command
p:filter - Filters documents with a dynamically constructed select expression
p:hash - Computes a cryptographic hash and inserts it into a document
p:http-request - Interact with other systems over HTTP
p:identity - Passes its input through unchanged
p:insert - Inserts content into a document
p:label-elements - Adds an attribute (often xml:id) to matching elements
p:load - Loads a document from a URI
p:make-absolute-uris - Resolves relative URIs to absolute URIs in the source document
p:namespace-rename - Changes the URI associated with a namespace binding
p:pack - Merges two document sequences
p:parameters - Converts step parameters into XML
p:rename - Renames elements, attributes, or processing instructions
p:replace - Replaces matching content
p:set-attributes - Sets a number of attributes at once
p:sink - Discards its input
p:split-sequence - Divides a sequence of documents into two sequences
p:store - Stores a document (usually on the filesystem)
p:string-replace - Replaces matched nodes with the result of evaluating an XPath expression
p:unescape-markup - Converts “escaped XML” back into real XML
p:unwrap - Removes an element, but not its content
p:uuid - Generates a UUID and inserts it into a document
p:validate-with-relax-ng - Validates a document using a RELAX NG grammar
p:validate-with-schematron - Validates a document using a Schematron schema
p:validate-with-xml-schema - Validates a document using W3C XML Schema
p:wrap-sequence - Places an element wrapper around a sequence of documents
p:wrap - Adds a wrapper around matching nodes
p:www-form-urldecode - Decodes URL encoded form data
p:www-form-urlencode - Encodes parameters into URL encoded form data
p:xinclude - Performs XInclude processing
p:xquery - Performs XQuery processing
p:xsl-formatter - Performs XSL FO processing
p:xslt - Performs XSLT processing