|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: passing a sequence as a parameter
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








