Re: [xml-dev] Registered namespace prefixes

From
Elliotte Rusty Harold <>
To
Gavin Thomas Nicol <>, "" <>
Date
2003-03-08T19:43:59Z
ID
<p04330104ba8ff8305be8@[192.168.254.4]>
Thread
Re: [xml-dev] Registered namespace prefixes
At 2:03 PM -0500 3/8/03, Gavin Thomas Nicol wrote:

>You can do it fine without namespaces too though right? Surely an attribute,
>or an XPath in the dispatcher would do just as well?

They're a dozen different ways to do this. For instance, I could have 
a table of which element names belong to which vocabularies, and 
perhaps make the table context dependent. Namespaces just make it a 
lot easier.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold |  | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+