Subject: Re: [xsl] constructing a "variable" select argument From: "Tracey Zellmann" <tracey.zellmann@xxxxxxxxxxx> Date: Mon, 27 Feb 2006 20:31:35 -0500 |
I have this statement: <xsl:copy-of select="/Report/TrackT1/Position[@position='Left Front']/MCHistogram[@id='1']/svg:svg"/>
However, the TrackT1 part of the expression can also change - to TrackT2, TrackT3, Track5-18, etc, taking on various values.
/Report/*[name()=$param]/Position
if the variation is more than a change of name then in XSLT you can invoke a
function here:
/Report/f:find-track(., $param)/Position
Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] constructing a "variable", Michael Kay | Thread | [xsl] when to use 'as' attribute on, tom tom |
[xsl] <xs:any> and [!CDATA{ - Simpl, Pedro Alves | Date | Re: [xsl] <xs:any> and [!CDATA{ - S, Jon Gorman |
Month |