I have this statement:
<xsl:copy-of select="/Report/TrackT1/Position[(_at_)position='Left
Front']/MCHistogram[(_at_)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/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--