1.

What Is Selecting And Filtering Element In Xquery?

Answer»

XQUERY FLWOR and Path expression are used for selecting and FILTERING the XML elements. Both are used to select and filter the DESIRED elements.

For example:

for $a in doc("bookmart.xml")/bookstore/book
where $a/price<150
ORDER by $a/title
return $a/title

XQuery FLWOR and Path expression are used for selecting and filtering the XML elements. Both are used to select and filter the desired elements.

For example:

for $a in doc("bookmart.xml")/bookstore/book
where $a/price<150
order by $a/title
return $a/title



Discussion

No Comment Found