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

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

Regards

-- 
Alex
-----
Currently:
Freelance Software Engineer 6+ yrs exp
<http://www.facebook.com/pages/Bafila/125611807494851>
Previously:
https://sites.google.com/a/utg.edu.gm/alex/


A Bafila, is two rivers flowing together as one:
http://www.facebook.com/pages/Bafila/125611807494851
Received on Thursday, 17 March 2011 10:01:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 17 March 2011 10:01:08 GMT