Name
p:store — The standard p:store step.
Synopsis
<p:declare-step type="p:store">
<p:input port="source"/>
<p:output port="result" primary="false"/>
<p:option name="href" required="true"/> <!-- anyURI -->
<p:option name="byte-order-mark"/> <!-- boolean -->
<p:option name="cdata-section-elements" select="''"/> <!-- ListOfQNames -->
<p:option name="doctype-public"/> <!-- string -->
<p:option name="doctype-system"/> <!-- anyURI -->
<p:option name="encoding"/> <!-- string -->
<p:option name="escape-uri-attributes" select="'false'"/> <!-- boolean -->
<p:option name="include-content-type" select="'true'"/> <!-- boolean -->
<p:option name="indent" select="'false'"/> <!-- boolean -->
<p:option name="media-type"/> <!-- string -->
<p:option name="method" select="'xml'"/> <!-- QName -->
<p:option name="normalization-form" select="'none'"/> <!-- NormalizationForm -->
<p:option name="omit-xml-declaration" select="'true'"/> <!-- boolean -->
<p:option name="standalone" select="'omit'"/> <!-- "true" | "false" | "omit" -->
<p:option name="undeclare-prefixes"/> <!-- boolean -->
<p:option name="version" select="'1.0'"/> <!-- string -->
<p:option name="cx:decode" select="'false'"/> <!-- boolean --></p:declare-step>
Description
The p:store step stores the resource that appears on the
source port into the location identified by the
href attribute. The remaining standard
options are serialization parameters for XML documents.
The p:store step takes a cx:decode
option. If the decode option is true and the document passed in is
base64 encoded, then the document will be decoded before it is stored. In this
way, p:store can store binary documents.
The decode option may also be passed as an attribute on the document element of the input document.



