multiple source documents and xslt/xproc integration


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