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


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 | elharo@m... | 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/    |
+----------------------------------+---------------------------------+

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