On Fri, Mar 24, 2006 at 01:27:20PM +0100, Kasimier Buchcik wrote: > Hi, > > In xslt.c, xsltPrecomputeStylesheet(), a call to > xsltParseStylesheetExcludePrefix() is performed for every > element-node of the stylesheet-doc. Since the attribute > "exclude-result-prefixes" is only allowed on xsl:stylesheet and > xsl:transform, I wonder if the call is necessary.
Yes, see section 7.1.1: "A namespace URI is designated as an excluded namespace by using an exclude-result-prefixes attribute on an xsl:stylesheet element or an xsl:exclude-result-prefixes attribute on a literal result element." all literal result element on a a stylesheet may also host this attribute... Daniel -- Daniel Veillard | Red Hat http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
