[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Variables and inherited attributes
Eric van der Vlist writes: > > As values of global variables (constants in fact) can't be changed, i > > was wondering if there exists a generic solution to manage inherited > > attribute values. > > Personally, when this is needed, I pass these values from template to > template using parameters (xsl:with-parameter works also with > xsl:apply-templates, not only with xsl:call-template). > you can also cycle through ancestor::*/@xml:lang (or something like that) until you find a non-empty value. Sebastian 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
|