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: Steve Taylor <steve.h.g.taylor@gmail.com>
Date: Fri, 23 Aug 2013 12:31:14 -0400
Message-ID: <CAEEdU0d98ebrYvaj+5YURcC71NjOWjk=wNFLriQuDV0-YUoHMQ@mail.gmail.com>
To: Romain Deltour <rdeltour@gmail.com>, "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>
Cc: XProc Dev <xproc-dev@w3.org>
Ah,, Okay thanks very much Gerrit and Romain

Regards


On Fri, Aug 23, 2013 at 9:58 AM, Romain Deltour <rdeltour@gmail.com> wrote:

> 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
>
>


-- 


Steve,
Received on Friday, 23 August 2013 16:31:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:11 UTC