This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Querying of xml using XQuery with namespace

 
Anandha Loganathan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following XML file and I want to extract some data using xquery.


and I have written the following xquery to extract some data.


Here {$a} returns all the data and {$b} doesn't retrieve any data and it just displays <disclosure/> instead of some values under <disclosure> element.

Please someone help me how do I retrieve all the data under the root element. I am not sure what I am missing here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic