Re: Built-in templates for specific modes
Michael Leditschke wrote: > The XSLT spec makes specific mention (section 5.8) > of the fact that there is a built-in template for > root and element nodes whether a mode is used > or not. > > However it makes no mention of built-in rules for > text, attribute, comment or processing instruction > nodes when a mode is used. Section 5.7 of the current WD of XSLT 2.0 clarifies: "The built-in template rules for text, attribute, comment, processing-instruction, and namespace nodes for a specific mode are the same as the rules shown above that apply where no mode is specified." No errata has been issued for XSLT 1.0 on this point, but I would assume that this was the intent all along, since it was not listed in the appendices of XSLT 2.0 as being a change from the previous versions of XSLT, and since all 1.0 processors treat it this way anyway. - Mike ____________________________________________________________________________ mike j. brown | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/ 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