This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: dynamicaly build select expression
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] dynamicaly build select expression
- From: Dmitri Ilyin <dmitri dot ilyin at memIQ dot com>
- Date: Thu, 13 Sep 2001 17:57:56 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@ccr.jussieu.fr>
> 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