Subject: RE: [xsl] dynamicaly build select expression From: Dmitri Ilyin <dmitri.ilyin@xxxxxxxxx> Date: Thu, 13 Sep 2001 17:57:56 +0200 |
thanks will it also work if i have: <xsl:variable name="some_name">node[@name='n1']/node[@name='n2']</xsl:variable> > > Ainsi parlait Dmitri Ilyin : > > Hi *, > > > > > > how can i build expression "select" in <xsl:value-of select=""/> > > dynamicaly, using xsl:variable > > for example: > > > > <xsl:variable name="some_name">node1/node2</xsl:variable> > > <xsl:value-of select="/node0/$some_name/node_n"/> > <xsl:value-of select="/node0/*[name()=$some_name]/node_n"/> > -- > 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] dynamicaly build select e, Michael Kay | Thread | Re: [xsl] dynamicaly build select e, Guillaume Rousse |
Re: [xsl] dynamicaly build select e, Guillaume Rousse | Date | Re: [xsl] looping without changing , David Carlisle |
Month |