RE: xslt 5.4 xpath-default-namespace

> 
> What *should* be the result of applying 
> xsl:xpath-default-namespace="http://www.w3.org/1999/XSL/Transform"
> 
> as in 
>  <xsl:template match="template" 
> default-xpath-namespace="http://www.w3.org/1999/XSL/Transform">
> 
> <xsl:value-of select="value-of/@select"/>
> 
> I'd expect it to provide the result of the select attribute
> of a template.

Correct, if applied to a stylesheet this should return the value of the
select attribute of an xsl:value-of element that is a child of an
xsl:template element.
> 
> 
> It appears not to be explictly forbidden by the WD.

What part of this construct would we want to forbid?

I'm not sure whether you have a problem here or whether you are just
observing that the spec allows you to do something that you find useful.

Michael Kay

Received on Monday, 16 June 2003 11:57:01 UTC