W3C home > Mailing lists > Public > xproc-dev@w3.org > August 2013

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

From: Romain Deltour <rdeltour@gmail.com>
Date: Fri, 23 Aug 2013 15:58:56 +0200
Cc: XProc Dev <xproc-dev@w3.org>
Message-Id: <5EDB12C3-F9C6-442D-99AB-40AB1F4F9AA6@gmail.com>
To: Steve Taylor <steve.h.g.taylor@gmail.com>
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:pipe port="secndart" step="my-xslt-step"/>
            <p:with-option name="href" select="base-uri(/)"/>

Hope this helps

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:13 UTC