Re: [xslt] Selecting on nodeset in variable from stylesheet

> Elizabeth Mattijsen" <>
> At 14:15 -0700 12/12/03, wrote:
> >  > <xsl:stylesheet version="1.0"
> >>    xmlns:xsl="";
> >>    xmlns:exslt="";
> >>  >
> >  > <xsl:template match="/">
> >You are missing the attribute extension-element-prefixes="exslt" in the
> >xsl:stylesheet element.
> Hmmm... it doesn't seem to be required for the transformation to
> produce the expected result.  Adding it doesn't seem to change
> anything.  Removing the namespace declaration does: so that seems to
> be required.

> I find paragraph 14.1 of the W3C recommendation really
> non-descriptive, even confusing.  It doesn't say anything about
> extension-elemenet-prefixes being required.

Whoops. I just re-read the spec.  14.1 is about extension elements not
extension functions.  The xsl:extension-element-prefixes attribute (as it's
name implies) is required only when using extension elements.
exslt:node-set() is an extension function and therefore the
xsl:extension-element-prefixes attribute is not relevent.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]