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

Re: passing parameters to an import file

Subject: Re: passing parameters to an import file
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Mon, 10 Sep 2001 12:19:18 +0100
import file xsl
try using the with-param

<xsl:call-template name="">
<xsl:with-param name="" select=""/>
</xsl:call-template>

though i suspect this may not be supported across all parsers with
document() calls, and not quite sure if it is supported at all, will be
interesting to know though.

cheers, jim fuller

----- Original Message -----
From: "Tanzila Mohammad" <tmohammad@xxxxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, September 10, 2001 12:18 PM
Subject:  passing parameters to an import file


> I have a xsl stylesheet (main.xsl) which imports another xsl stylesheet
> (common.xsl).
>
> Within main.xsl there is the following code:
>
>  <xsl:call-template name="noResults"/> <!--noResults is contained within
the
> common.xsl-->
>
> However, common.xsl requires a parameter which is utilized by the
noResults
> template, is there a way to pass the parameter to the template from
main.xsl
> via the call?
>
> Something like this:
>
> <xsl:call-template name="noResults(<xsl:value-of select="$param"/>)"/>
>
> Thanks
>
> Tanzila
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.