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

Re: Namespace attribute for steps that take wrappers?

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Tue, 01 Dec 2009 11:04:23 +0000
To: Norman Walsh <ndw@nwalsh.com>
Cc: public-xml-processing-model-comments@w3.org
Message-ID: <f5b1vjf9cqw.fsf@hildegard.inf.ed.ac.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Norman Walsh writes:

> Hello world,
>
> Consider this example:
>
>   <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.
>
> I wonder if we should allow
>
>   <p:rename match="/*" new-name="x:foo" new-namespace="http://..."/>
>
> Thsi would apply to p:rename, p:wrap-sequence, and other steps that
> allow the user to specify a QName.

Presumably you mean

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

Yes, good idea.  But for V1?  I guess we're not back to Last Call
yet. . .

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFLFPg3kjnJixAXWBoRAu4MAJsHZzSyVRLuuaAzdZbioHsFVkcMjACfZdNt
SeM7UYAKZsD7zr66t5uv2Uk=
=5Lso
-----END PGP SIGNATURE-----
Received on Tuesday, 1 December 2009 11:04:55 GMT

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