Re: Lesson Learned: Use namespaces for both markup and data
> Conversely, if I use a QName: > > <Example xmlns:aquarium="http://www.aquarium.org"> > <Object>aquarium:tank</Object> > </Example> > > and take the data out of context I get this: > > aquarium:tank > > This appears to be richer. I have not been following this (other other namespace related threads), but it occurs to me if you take aquarium:tank out of context it fundamentally loses its link to the namespace e.g. xmlns:aquarium="http://www.aquarium.org". Prefixes are just prefixes, nothing more then a hint/reference to something important (and hopefully specifically unique) ... once we start thinking there is a shared dictionary of what prefixes are, instead of a namespace URI isn't this where problems start creeping in ? Jim Fuller
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format