etc.pipeline-library.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- $Id: typed-pipeline-library.xml,v 1.79 2010/02/11 17:27:30 NormanWalsh Exp $ --> <p:library xmlns:p="http://www.w3.org/ns/xproc" xmlns:cx="http://xmlcalabash.com/ns/extensions" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0"> <p:declare-step type="p:add-attribute" xml:id="add-attribute"> <p:input port="source"/> <p:output port="result"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> <p:option name="attribute-name" required="true" cx:type="xsd:QName"/> <p:option name="attribute-prefix" cx:type="xsd:NCName"/> <p:option name="attribute-namespace" cx:type="xsd:anyURI"/> <p:option name="attribute-value" required="true" cx:type="xsd:string"/> </p:declare-step> <p:declare-step type="p:add-xml-base" xml:id="add-xml-base"> <p:input port="source"/> <p:output port="result"/> <p:option name="all" select="'false'" cx:type="xsd:boolean"/> <p:option name="relative" select="'true'" cx:type="xsd:boolean"/> </p:declare-step> <p:declare-step type="p:compare" xml:id="compare"> <p:input port="source" primary="true"/> <p:input port="alternate"/> <p:output port="result" primary="false" cx:type="xsd:boolean"/> <p:option name="fail-if-not-equal" select="'false'" cx:type="xsd:boolean"/> </p:declare-step> <p:declare-step type="p:count" xml:id="count"> <p:input port="source" sequence="true"/> <p:output port="result"/> <p:option name="limit" select="0" cx:type="xsd:integer"/> </p:declare-step> <p:declare-step type="p:delete" xml:id="delete"> <p:input port="source"/> <p:output port="result"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> </p:declare-step> <p:declare-step type="p:directory-list" xml:id="directory-list"> <p:output port="result"/> <p:option name="path" required="true" cx:type="xsd:anyURI"/> <p:option name="include-filter" cx:type="RegularExpression"/> <p:option name="exclude-filter" cx:type="RegularExpression"/> </p:declare-step> <p:declare-step type="p:error" xml:id="error"> <p:input port="source" primary="false"/> <p:output port="result" sequence="true"/> <p:option name="code" required="true" cx:type="xsd:QName"/> <p:option name="code-prefix" cx:type="xsd:NCName"/> <p:option name="code-namespace" cx:type="xsd:anyURI"/> </p:declare-step> <p:declare-step type="p:escape-markup" xml:id="escape-markup"> <p:input port="source"/> <p:output port="result"/> <p:option name="cdata-section-elements" select="''" cx:type="ListOfQNames"/> <p:option name="doctype-public" cx:type="xsd:string"/> <p:option name="doctype-system" cx:type="xsd:anyURI"/> <p:option name="escape-uri-attributes" select="'false'" cx:type="xsd:boolean"/> <p:option name="include-content-type" select="'true'" cx:type="xsd:boolean"/> <p:option name="indent" select="'false'" cx:type="xsd:boolean"/> <p:option name="media-type" cx:type="xsd:string"/> <p:option name="method" select="'xml'" cx:type="xsd:QName"/> <p:option name="omit-xml-declaration" select="'true'" cx:type="xsd:boolean"/> <p:option name="standalone" select="'omit'" cx:type="true|false|omit"/> <p:option name="undeclare-prefixes" cx:type="xsd:boolean"/> <p:option name="version" select="'1.0'" cx:type="xsd:string"/> </p:declare-step> <p:declare-step type="p:filter" xml:id="filter"> <p:input port="source"/> <p:output port="result" sequence="true"/> <p:option name="select" required="true" cx:type="XPathExpression"/> </p:declare-step> <p:declare-step type="p:http-request" xml:id="http-request"> <p:input port="source"/> <p:output port="result"/> <p:option name="byte-order-mark" cx:type="xsd:boolean"/> <p:option name="cdata-section-elements" select="''" cx:type="ListOfQNames"/> <p:option name="doctype-public" cx:type="xsd:string"/> <p:option name="doctype-system" cx:type="xsd:anyURI"/> <p:option name="encoding" cx:type="xsd:string"/> <p:option name="escape-uri-attributes" select="'false'" cx:type="xsd:boolean"/> <p:option name="include-content-type" select="'true'" cx:type="xsd:boolean"/> <p:option name="indent" select="'false'" cx:type="xsd:boolean"/> <p:option name="media-type" cx:type="xsd:string"/> <p:option name="method" select="'xml'" cx:type="xsd:QName"/> <p:option name="normalization-form" select="'none'" cx:type="NormalizationForm"/> <p:option name="omit-xml-declaration" select="'true'" cx:type="xsd:boolean"/> <p:option name="standalone" select="'omit'" cx:type="true|false|omit"/> <p:option name="undeclare-prefixes" cx:type="xsd:boolean"/> <p:option name="version" select="'1.0'" cx:type="xsd:string"/> </p:declare-step> <p:declare-step type="p:identity" xml:id="identity" cx:pure="true"> <p:input port="source" sequence="true"/> <p:output port="result" sequence="true"/> </p:declare-step> <p:declare-step type="p:insert" xml:id="insert"> <p:input port="source" primary="true"/> <p:input port="insertion" sequence="true"/> <p:output port="result"/> <p:option name="match" select="'/*'" cx:type="XSLTMatchPattern"/> <p:option name="position" required="true" cx:type="first-child|last-child|before|after"/> </p:declare-step> <p:declare-step type="p:label-elements" xml:id="label-elements"> <p:input port="source"/> <p:output port="result"/> <p:option name="attribute" select="'xml:id'" cx:type="xsd:QName"/> <p:option name="attribute-prefix" cx:type="xsd:NCName"/> <p:option name="attribute-namespace" cx:type="xsd:anyURI"/> <p:option name="label" select="'concat("_",$p:index)'" cx:type="XPathExpression"/> <p:option name="match" select="'*'" cx:type="XSLTMatchPattern"/> <p:option name="replace" select="'true'" cx:type="xsd:boolean"/> </p:declare-step> <p:declare-step type="p:load" xml:id="load"> <p:output port="result"/> <p:option name="href" required="true" cx:type="xsd:anyURI"/> <p:option name="dtd-validate" select="'false'" cx:type="xsd:boolean"/> </p:declare-step> <p:declare-step type="p:make-absolute-uris" xml:id="make-absolute-uris"> <p:input port="source"/> <p:output port="result"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> <p:option name="base-uri" cx:type="xsd:anyURI"/> </p:declare-step> <p:declare-step type="p:namespace-rename" xml:id="namespace-rename"> <p:input port="source"/> <p:output port="result"/> <p:option name="from" cx:type="xsd:anyURI"/> <p:option name="to" cx:type="xsd:anyURI"/> <p:option name="apply-to" select="'all'" cx:type="all|elements|attributes"/> </p:declare-step> <p:declare-step type="p:pack" xml:id="pack"> <p:input port="source" sequence="true" primary="true"/> <p:input port="alternate" sequence="true"/> <p:output port="result" sequence="true"/> <p:option name="wrapper" required="true" cx:type="xsd:QName"/> <p:option name="wrapper-prefix" cx:type="xsd:NCName"/> <p:option name="wrapper-namespace" cx:type="xsd:anyURI"/> </p:declare-step> <p:declare-step type="p:parameters" xml:id="parameters"> <p:input port="parameters" kind="parameter" primary="false"/> <p:output port="result" primary="false"/> </p:declare-step> <p:declare-step type="p:rename" xml:id="rename"> <p:input port="source"/> <p:output port="result"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> <p:option name="new-name" required="true" cx:type="xsd:QName"/> <p:option name="new-prefix" cx:type="xsd:NCName"/> <p:option name="new-namespace" cx:type="xsd:anyURI"/> </p:declare-step> <p:declare-step type="p:replace" xml:id="replace"> <p:input port="source" primary="true"/> <p:input port="replacement"/> <p:output port="result"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> </p:declare-step> <p:declare-step type="p:set-attributes" xml:id="set-attributes"> <p:input port="source" primary="true"/> <p:input port="attributes"/> <p:output port="result"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> </p:declare-step> <p:declare-step type="p:sink" xml:id="sink" cx:pure="true"> <p:input port="source" sequence="true"/> </p:declare-step> <p:declare-step type="p:split-sequence" xml:id="split-sequence"> <p:input port="source" sequence="true"/> <p:output port="matched" sequence="true" primary="true"/> <p:output port="not-matched" sequence="true"/> <p:option name="initial-only" select="'false'" cx:type="xsd:boolean"/> <p:option name="test" required="true" cx:type="XPathExpression"/> </p:declare-step> <p:declare-step type="p:store" xml:id="store"> <p:input port="source"/> <p:output port="result" primary="false"/> <p:option name="href" required="true" cx:type="xsd:anyURI"/> <p:option name="byte-order-mark" cx:type="xsd:boolean"/> <p:option name="cdata-section-elements" select="''" cx:type="ListOfQNames"/> <p:option name="doctype-public" cx:type="xsd:string"/> <p:option name="doctype-system" cx:as="xsd:anyURI?" cx:type="xsd:anyURI"/> <p:option name="encoding" cx:type="xsd:string"/> <p:option name="escape-uri-attributes" select="'false'" cx:type="xsd:boolean"/> <p:option name="include-content-type" select="'true'" cx:type="xsd:boolean"/> <p:option name="indent" select="'false'" cx:type="xsd:boolean"/> <p:option name="media-type" cx:type="xsd:string"/> <p:option name="method" select="'xml'" cx:type="xsd:QName"/> <p:option name="normalization-form" select="'none'" cx:type="NormalizationForm"/> <p:option name="omit-xml-declaration" select="'true'" cx:type="xsd:boolean"/> <p:option name="standalone" select="'omit'" cx:type="true|false|omit"/> <p:option name="undeclare-prefixes" cx:type="xsd:boolean"/> <p:option name="version" select="'1.0'" cx:type="xsd:string"/> </p:declare-step> <p:declare-step type="p:string-replace" xml:id="string-replace"> <p:input port="source"/> <p:output port="result"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> <p:option name="replace" required="true" cx:type="XPathExpression"/> </p:declare-step> <p:declare-step type="p:unescape-markup" xml:id="unescape-markup"> <p:input port="source"/> <p:output port="result"/> <p:option name="namespace" cx:type="xsd:anyURI"/> <p:option name="content-type" select="'application/xml'" cx:type="xsd:string"/> <p:option name="encoding" cx:type="xsd:string"/> <p:option name="charset" cx:type="xsd:string"/> </p:declare-step> <p:declare-step type="p:unwrap" xml:id="unwrap"> <p:input port="source"/> <p:output port="result"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> </p:declare-step> <p:declare-step type="p:wrap" xml:id="wrap"> <p:input port="source"/> <p:output port="result"/> <p:option name="wrapper" required="true" cx:type="xsd:QName"/> <p:option name="wrapper-prefix" cx:type="xsd:NCName"/> <p:option name="wrapper-namespace" cx:type="xsd:anyURI"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> <p:option name="group-adjacent" cx:type="XPathExpression"/> </p:declare-step> <p:declare-step type="p:wrap-sequence" xml:id="wrap-sequence"> <p:input port="source" sequence="true"/> <p:output port="result" sequence="true"/> <p:option name="wrapper" required="true" cx:type="xsd:QName"/> <p:option name="wrapper-prefix" cx:type="xsd:NCName"/> <p:option name="wrapper-namespace" cx:type="xsd:anyURI"/> <p:option name="group-adjacent" cx:type="XPathExpression"/> </p:declare-step> <p:declare-step type="p:xinclude" xml:id="xinclude"> <p:input port="source"/> <p:output port="result"/> <p:option name="fixup-xml-base" select="'false'" cx:type="xsd:boolean"/> <p:option name="fixup-xml-lang" select="'false'" cx:type="xsd:boolean"/> </p:declare-step> <p:declare-step type="p:xslt" xml:id="xslt"> <p:input port="source" sequence="true" primary="true"/> <p:input port="stylesheet"/> <p:input port="parameters" kind="parameter"/> <p:output port="result" primary="true"/> <p:output port="secondary" sequence="true"/> <p:option name="initial-mode" cx:type="xsd:QName"/> <p:option name="template-name" cx:type="xsd:QName"/> <p:option name="output-base-uri" cx:type="xsd:anyURI"/> <p:option name="version" cx:type="xsd:string"/> </p:declare-step> <p:declare-step type="p:exec" xml:id="exec"> <p:input port="source" primary="true" sequence="true"/> <p:output port="result" primary="true"/> <p:output port="errors"/> <p:output port="exit-status"/> <p:option name="command" required="true" cx:type="xsd:string"/> <p:option name="args" select="''" cx:type="xsd:string"/> <p:option name="cwd" cx:type="xsd:string"/> <p:option name="source-is-xml" select="'true'" cx:type="xsd:boolean"/> <p:option name="result-is-xml" select="'true'" cx:type="xsd:boolean"/> <p:option name="wrap-result-lines" select="'false'" cx:type="xsd:boolean"/> <p:option name="errors-is-xml" select="'false'" cx:type="xsd:boolean"/> <p:option name="wrap-error-lines" select="'false'" cx:type="xsd:boolean"/> <p:option name="path-separator" cx:type="xsd:string"/> <p:option name="failure-threshold" cx:type="xsd:integer"/> <p:option name="arg-separator" select="' '" cx:type="xsd:string"/> <p:option name="byte-order-mark" cx:type="xsd:boolean"/> <p:option name="cdata-section-elements" select="''" cx:type="ListOfQNames"/> <p:option name="doctype-public" cx:type="xsd:string"/> <p:option name="doctype-system" cx:type="xsd:anyURI"/> <p:option name="encoding" cx:type="xsd:string"/> <p:option name="escape-uri-attributes" select="'false'" cx:type="xsd:boolean"/> <p:option name="include-content-type" select="'true'" cx:type="xsd:boolean"/> <p:option name="indent" select="'false'" cx:type="xsd:boolean"/> <p:option name="media-type" cx:type="xsd:string"/> <p:option name="method" select="'xml'" cx:type="xsd:QName"/> <p:option name="normalization-form" select="'none'" cx:type="NormalizationForm"/> <p:option name="omit-xml-declaration" select="'true'" cx:type="xsd:boolean"/> <p:option name="standalone" select="'omit'" cx:type="true|false|omit"/> <p:option name="undeclare-prefixes" cx:type="xsd:boolean"/> <p:option name="version" select="'1.0'" cx:type="xsd:string"/> </p:declare-step> <p:declare-step type="p:hash" xml:id="hash"> <p:input port="source" primary="true"/> <p:output port="result"/> <p:input port="parameters" kind="parameter"/> <p:option name="value" required="true" cx:type="xsd:string"/> <p:option name="algorithm" required="true" cx:type="xsd:QName"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> <p:option name="version" cx:type="xsd:string"/> </p:declare-step> <p:declare-step type="p:uuid" xml:id="uuid"> <p:input port="source" primary="true"/> <p:output port="result"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> <p:option name="version" cx:type="xsd:integer"/> </p:declare-step> <p:declare-step type="p:validate-with-relax-ng" xml:id="validate-with-relax-ng"> <p:input port="source" primary="true"/> <p:input port="schema"/> <p:output port="result"/> <p:option name="dtd-attribute-values" select="'false'" cx:type="xsd:boolean"/> <p:option name="dtd-id-idref-warnings" select="'false'" cx:type="xsd:boolean"/> <p:option name="assert-valid" select="'true'" cx:type="xsd:boolean"/> </p:declare-step> <p:declare-step type="p:validate-with-schematron" xml:id="validate-with-schematron"> <p:input port="parameters" kind="parameter"/> <p:input port="source" primary="true"/> <p:input port="schema"/> <p:output port="result" primary="true"/> <p:output port="report" sequence="true"/> <p:option name="phase" select="'#ALL'" cx:type="xsd:string"/> <p:option name="assert-valid" select="'true'" cx:type="xsd:boolean"/> </p:declare-step> <p:declare-step type="p:validate-with-xml-schema" xml:id="validate-with-xml-schema"> <p:input port="source" primary="true"/> <p:input port="schema" sequence="true"/> <p:output port="result"/> <p:option name="use-location-hints" select="'false'" cx:type="xsd:boolean"/> <p:option name="try-namespaces" select="'false'" cx:type="xsd:boolean"/> <p:option name="assert-valid" select="'true'" cx:type="xsd:boolean"/> <p:option name="mode" select="'strict'" cx:type="strict|lax"/> </p:declare-step> <p:declare-step type="p:www-form-urldecode" xml:id="www-form-urldecode"> <p:output port="result"/> <p:option name="value" required="true" cx:type="xsd:string"/> </p:declare-step> <p:declare-step type="p:www-form-urlencode" xml:id="www-form-urlencode"> <p:input port="source" primary="true"/> <p:output port="result"/> <p:input port="parameters" kind="parameter"/> <p:option name="match" required="true" cx:type="XSLTMatchPattern"/> </p:declare-step> <p:declare-step type="p:xquery" xml:id="xquery"> <p:input port="source" sequence="true" primary="true"/> <p:input port="query"/> <p:input port="parameters" kind="parameter"/> <p:output port="result" sequence="true"/> </p:declare-step> <p:declare-step type="p:xsl-formatter" xml:id="xsl-formatter"> <p:input port="source"/> <p:input port="parameters" kind="parameter"/> <p:output port="result" primary="false"/> <p:option name="href" required="true" cx:type="xsd:anyURI"/> <p:option name="content-type" cx:type="xsd:string"/> </p:declare-step> <!-- Introduced by http://www.w3.org/TR/xproc-template/ --> <p:declare-step type="p:in-scope-names" xml:id="in-scope-names"> <p:output port="result" primary="false"/> </p:declare-step> <p:declare-step type="p:template" xml:id="template"> <p:input port="template"/> <p:input port="source" sequence="true" primary="true"/> <p:input port="parameters" kind="parameter"/> <p:output port="result"/> </p:declare-step> <!-- DEPRECATED --> <p:declare-step type="p:document-template" xml:id="document-template"> <p:input port="template"/> <p:input port="source" sequence="true" primary="true"/> <p:input port="parameters" kind="parameter"/> <p:output port="result"/> </p:declare-step> </p:library>