W3C home > Mailing lists > Public > public-xmlhypermedia@w3.org > August 2012

RE: use cases

From: Liam R E Quin <liam@w3.org>
Date: Mon, 20 Aug 2012 23:35:53 -0400
To: "Rushforth, Peter" <Peter.Rushforth@NRCan-RNCan.gc.ca>
Cc: "public-xmlhypermedia@w3.org" <public-xmlhypermedia@w3.org>
Message-ID: <1345520153.9441.77.camel@localhost.localdomain>
On Tue, 2012-08-21 at 01:20 +0000, Rushforth, Peter wrote:
[...]
> >It's a way to say "in this context, this name should be associated with
> >this namespace."
> 
> So are you saying for example, that when one applies a transformation
> that seeks to map the autonamespaced
> elements to a prefix:localname you would need to end up with the
> attributes in the same namespace as their ancestor elements?

No, not necessarily. I wanted to support (for example)
  <svg>...<link href="foo">...
to be mapped to
  <svg xmlns="http://www.w3.org/2000/svg">
    <link xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="foo">...

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Received on Tuesday, 21 August 2012 03:36:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 August 2012 03:36:00 GMT