Thanks for the example.
It seems, +param=filename will be Saxon specific. Can we have
something more portable? To put this question the another way: is it
useful to desire a portable way to do this?
On Tue, Feb 26, 2008 at 9:54 PM, David Carlisle
<davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
param=value Set stylesheet string parameter
+param=filename Set stylesheet document parameter
!option=value Set serialization option
see the last but one line...
so you go
saxon9 it=main style.xsl +doc1=file1.xml +doc2=file2.xml
where style.xsl has
<xsl:stylesheet...
<xsl:param name="doc1"/>
<xsl:param name="doc2"/>
<xsl:template name="main">
<xsl:value-of select="$doc1/a/b/c"/>
<xsl:value-of select="$doc2/a/b/c"/>
...
(saxon 8 and I think 7 had same feature but not saxon6 as far as I recall)
David
--
Regards,
Mukul Gandhi
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--