Re: Namespace attribute for steps that take wrappers?

2009/12/1 Henry S. Thompson wrote:

>>   <p:rename match="/*" new-name="x:foo" new-namespace="http://..."/>

> Presumably you mean

>   <p:rename match="/*" new-name="foo" new-namespace="http://..."/>

  I can't speak about what Norm has meant, but in your above
instruction, the processor does not know which prefix to bind to the
namespace URI.  If you make new-name value a lexical QName, the
processor have all the three pieces: the prefix, the namespace URI and
the local name.

  I think this is exactly the same context than with xsl:element's
@name and @namespace <http://www.w3.org/TR/xslt20/#xsl-element>.

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Received on Tuesday, 1 December 2009 11:21:21 UTC