<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors">
	
	<p:param type="input" name="instance"/>

	<p:processor name="oxf:xslt">
		<p:input name="data" href="#instance"/>
		<p:input name="config">
			<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
				<xsl:template match="/">
					<instance>
						<xsl:value-of select="/days-to-add"/>
					</instance>
				</xsl:template>
			</xsl:stylesheet>
		</p:input>
		<p:output name="data" id="service-results" debug="service-results"/>
	</p:processor>

	<p:processor name="oxf:xml-converter">
		<p:input name="data" href="#service-results"/>
		<p:input name="config">
			<config>
				<content-type>application/xml</content-type>
				<encoding>iso-8859-1</encoding>
				<version>1.0</version>
			</config>
		</p:input>		
		<p:output name="data" id="service-results-xml"/>
	</p:processor>
	
	<p:processor name="oxf:http-serializer">
		<p:input name="config">
			<config>
				<content-type>application/xml</content-type>
			</config>
		</p:input>
		<p:input name="data" href="#service-results-xml"/>
	</p:processor>

</p:config>	