W3C home > Mailing lists > Public > xproc-dev@w3.org > March 2011

multiple source documents and xslt/xproc integration

From: Alex Muir <alex.g.muir@gmail.com>
Date: Thu, 17 Mar 2011 10:00:35 +0000
Message-ID: <AANLkTinPK45iYGn4FmJ7T-HKsfbDfqRGXLDL+PtEHV3B@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>

I was just thinking that it would be nice to have xslt be able to work with
more than one source document from xproc such that the when accessing a
second source with xslt doc() function it could point to a source in memory
specified by xproc or perhaps better via a parameter one could access the
second source.

That's not possible correct,, such that currently the best one can do is
have the XSLT file accept the primary source via memory and a second source
from disk via doc()?

I note the spec says "If a sequence of documents is provided on the
sourceport, the first document is used as the primary input document."
and that
there is only a secondary port for output.

"     <p:output port="result" primary="true"/>
     <p:output port="secondary" sequence="true"/>


Freelance Software Engineer 6+ yrs exp

A Bafila, is two rivers flowing together as one:
Received on Thursday, 17 March 2011 10:01:07 UTC

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