[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: passing a sequence as a parameter

Subject: Re: passing a sequence as a parameter
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Tue, 26 Feb 2008 22:19:08 +0530
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

Mukul Gandhi

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.