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

  • From: Kurt Cagle <kurt.cagle@g...>
  • To: Mukul Gandhi <gandhi.mukul@g...>
  • Date: Sun, 19 Dec 2010 23:21:38 -0500

> Similarly, I think the XPath fails on this same regard. From a programmer's
> standpoint:
> /bookstore:bookSet/bookstore:book/bookstore:author
> seems unduly redundant, and they'd be right; why can't we say
> bookstore:/bookSet/book/author
> or even
> com.mycompany.bookstore:/bookSet/book/author

I find xpathDefaultNamespace useful for this :)

Certainly, but very few people outside the XML community know about this - for most people, when you talk about the default namespace, this is synonymous with the empty namespace, if they understand the principle at all.
 
Kurt Cagle


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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