Subject: Re: [xsl] passing a sequence as a parameter From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Tue, 26 Feb 2008 22:19:08 +0530 |
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@xxxxxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] passing a sequence as a p, David Carlisle | Thread | Re: [xsl] passing a sequence as a p, David Carlisle |
Re: [xsl] passing a sequence as a p, Colin Adams | Date | Re: [xsl] passing a sequence as a p, David Carlisle |
Month |