[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: constructing a "variable" select argument
> 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|