[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Variables and inherited attributes
> For large document, getting the value from the document tree is very > time consuming. actually has anyone done any timings comparing handling inherited attribute values via ancestestor-or-self::*/@xxx rather than saving the value "on the way down" and using parameters to pass the information to templates handling the descendent nodes. Unlike // which potentially causes a search of the whole document I'd have thought that for most document types the number of ancestor nodes is typically quite small, and so looking back up the ancestor axis to find the relevant xml:lang should be quite efficient? 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
|