I have the following xml example, which I’m trying to xquery in BaseX.
<book> <title>Book 1</title> <price>15.99</price> </book> <book> <title>Book 2</title> <price>5.99</price> </book> <book> <title>Book 3</title> <price>5</price> </book>
Basically it’s a series of elements with a price tag. I’m trying to extract it with a tag to each depending on the price range, so for instance less then 10 would be cheap, then average, then premium.
Thanks in advance.
New contributor
Juan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.