This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Querying of xml using XQuery with namespace  RSS feed

Anandha Loganathan
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
Boost this thread!