Archive of UserLand's first discussion group, started October 5, 1998.

Re: xml namespaces

Author:Mark Baker
Posted:6/29/2000; 7:39:32 PM
Topic:xml namespaces
Msg #:18279 (In response to 18263)
Prev/Next:18278 / 18280

Why are you trying to *read* a complex XML document? Can you envision another syntax that would make that complexity legible?

Simple XML documents - those with just one namespace, or with one "main" one plus one or two adjunct namespaces - are very legible thanks to "xmlns", the default namespace that all elements in the document bind to except those specifically belonging to another namespace.

Namespaces make distributed coordination a little easier. If you've got data that you don't need to pass around outside your world, you don't need them. But if you do want to pass it around, you'd be better off making sure your "a" element isn't confused for my "a" element.

MB




This page was archived on 6/13/2001; 4:55:33 PM.

© Copyright 1998-2001 UserLand Software, Inc.