Subject: Re: [xsl] dynamicaly build select expression From: Guillaume Rousse <rousse@xxxxxxxxxxxxxx> Date: Thu, 13 Sep 2001 18:25:47 +0200 |
Ainsi parlait Dmitri Ilyin : > thanks > > will it also work if i have: > <xsl:variable > name="some_name">node[@name='n1']/node[@name='n2']</xsl:variable> Here your variable is no more the name of an element. Use two variable (or parameter): <xsl:variable name="n1"/> <xsl:variable name="n2"/> <xsl:apply-template select="node[@id=$n1]/node[@id=$n2]"/> -- Guillaume Rousse <rousse@xxxxxxxxxxxxxx> GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] dynamicaly build select e, Dmitri Ilyin | Thread | Re: [xsl] dynamicaly build select e, Jörg Heinicke |
[xsl] Extracting a list of unique b, Taras Tielkes | Date | Re: [xsl] substring function not ha, Tony Graham |
Month |