Re: How to handle multiple result documents saved to different folders in p:xslt

You need to process the secondary port sequences. Documents produced on this port have their base URI set to the one set in the `xsl:result-document`. In other words, you should have something along the lines of:


    <p:for-each>
        <p:iteration-source>
            <p:pipe port="secndart" step="my-xslt-step"/>
        </p:iteration-source>
        <p:store>
            <p:with-option name="href" select="base-uri(/)"/>
        </p:store>
    </p:for-each>

Hope this helps
Romain.

On 23 août 2013, at 14:54, Steve Taylor <steve.h.g.taylor@gmail.com> wrote:

> Hi,
> 
> I have an XSLT file that saves multiple result-documents to different directory locations. Is there a simple way to allow the p:xslt step to save this as it specifies in the xslt or does the secondary output have to be handled by the pipeline? 
> 
> Would i need to add logic in the pipeline to figure out where each secondary output file was supposed to be saved based on it's contents?
> 
> -- 
> 
> Regards
> Steve

Received on Friday, 23 August 2013 13:59:27 UTC