Subject: Re: [xsl] Passing Variables to XSL Templates From: "cutlass" <cutlass@xxxxxxxxxxx> Date: Wed, 27 Jun 2001 12:52:02 +0100 |
use <xsl:param/> but it will depend on what is parsing the xml/xslt if u are using M$ then go to www.netcrucible.com and www.bayes.co.uk to get the dope on how to do it. other parsers usually will let you define params within the command line form, using something like AxKit/Cocoon( and i think mod_xslt ) means you can place it in the URL ( though if you are a newbie, i would not suggest this route at the moment). and maybe http://www.dpawson.co.uk/xsl/sect2/N5982.html this will help also, once you have got the param into your stylesheet. good luck, jim fuller ----- Original Message ----- From: "Joshua Miller" <josh.miller@xxxxxxxxxxxx> To: "Xsl-List@xxxxxxxxxxxxxxxxxxxxxx" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, June 27, 2001 12:47 PM Subject: [xsl] Passing Variables to XSL Templates > Greetings, > > Newbie question for the XSL masters - is there anyway that I can pass a > variable into an XSL Template to populate a CASE statement? > > Want to do something like: <xsl:if match=".[NAME='$name']"> > But the variable will be coming from either ColdFusion, ASP, JAVA or > somewhere else. > > Is this possible??? > > Joshua Miller > Web Development::Programming > Eagle Technologies Group, Inc. > www.eagletgi.com > josh.miller@xxxxxxxxxxxx > > > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Passing Variables to XSL Temp, Joshua Miller | Thread | Re: [xsl] Passing Variables to XSL , Fr\id\iric SCHWEBEL |
[xsl] Passing Variables to XSL Temp, Joshua Miller | Date | Re: [xsl] Passing Variables to XSL , Fr\id\iric SCHWEBEL |
Month |