This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: dynamicaly build select expression


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]