[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Variables and inherited attributes
> I think that true global variables would have been a good solution to > handle inherited attributes (xml:lang, xml:base, etc.). how would they have helped? Either pass the values down as parameters, or just use get the value from the source tree, the currently active value for xml:lang is <xsl:value-of select="ancestor-or-self::*/@xml:lang[1]"/> David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|