This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]