Re: use cases

On Mon, 2012-08-20 at 11:31 +0100, David Carlisle wrote:

> In the standard xml namespace model (and
> the XDM model used by XSLT/XPath/Xquery) you can have have unprefixed
> element names in a namespace, but you can not have unprefixed attribute
> names in a namespace.

If you implemented unobtrusive namespaces (as I described them in
Montreal) e.g. with XSLT, you'd add prefixes to the attributes.

It's a way to say "in this context, this name should be associated with
this namespace."

My proposal does not handle conflicts -- in XML you'd have to use
explicit namespaces in that case, and microxml wouldn't support the
idea, I expect.

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 Monday, 20 August 2012 19:57:00 UTC