[Home] [By Thread] [By Date] [Recent Entries]

  • From: "James Tauber" <jtauber@j...>
  • To: "Paul Tchistopolskii" <paul@q...>, "XMLDev list" <xml-dev@i...>
  • Date: Sun, 5 Sep 1999 14:21:33 +0800

> Namespaces should be hierarchic. I think that now most of
> XML developers  would agree.

Namespace URI's are hierarchical already, so all it would take is prefix
matching. I briefly suggested this when namespaces first came out and again
in more detail in a couple of posts last week.

Upon further reflection, it wouldn't even need a modification to XPath
(although such a modification could make prefix matching cleaner). As far as
I can tell, all you would need to do is something like:

p[starts-with(namespace-uri(),"http://www.w3.org/xhtml1/")]

James
--
James Tauber / jtauber@j... / www.jtauber.com
Maintainer of : www.xmlinfo.com,  www.xmlsoftware.com and www.schema.net
<pipe>Ceci n'est pas une pipe</pipe>





xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member