W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > December 2009

Re: Namespace attribute for steps that take wrappers?

From: Florent Georges <fgeorges@fgeorges.org>
Date: Tue, 1 Dec 2009 12:07:39 +0100
Message-ID: <ebaca5bf0912010307h580bd611j7d2d8eede1ca210f@mail.gmail.com>
To: Norman Walsh <ndw@nwalsh.com>
Cc: public-xml-processing-model-comments@w3.org
2009/12/1 Norman Walsh wrote:

  Hi,

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

> All well and good, but suppose that you're *generating* this
> step with, for example, and XSLT transformation.  I expect that
> it's possible to make sure that a namespace binding is
> generated, but I'm not sure that a conformant XSLT processor is
> required to support that.

  Yes, an XSLT 2.0 processor is.  That's the general problem of
relying on the namespace prefix in the content (that is heavily
used in XSD and XSLT generation using XSLT).

  If I am right, you cannot have such a guarantee in XSLT 1.0.

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/
Received on Tuesday, 1 December 2009 11:16:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 December 2009 11:16:14 GMT