This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Built-in templates for specific modes
- From: Mike Brown <mike at skew dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 30 May 2002 04:38:36 -0600 (MDT)
- Subject: Re: [xsl] Built-in templates for specific modes
- Reply-to: xsl-list at lists dot mulberrytech dot com
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