Subject: RE: [xsl] constructing a "variable" select argument From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Mon, 27 Feb 2006 23:14:36 -0000 |
> 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", Florent Georges | Thread | RE: [xsl] constructing a "variable", Michael Kay |
Re: [xsl] constructing a "variable", Florent Georges | Date | [xsl] <xs:any> and [!CDATA{ - Simpl, Pedro Alves |
Month |