Question: 1 . [ 4 pts ] Given the XML document: I want all order nodes for at least 2 pizzas with onion toppings. Which of

1.[4pts] Given the XML document:
I want all order nodes for at least 2 pizzas with onion toppings. Which of the following XPATH queries is correct? (select one only)
a./orders/order[quantity>2]/topping[value='onion']
b.//order/topping[@value='onion']
c.//order[@quantity>1 and topping/@value='onion']
d. None of the above
I want all order nodes for at least 2 pizzas with onion toppings. Which of the following XPATH queries is correct? (select one only)
a./orders/order[quantity>2]/topping[value='onion']
b.//order/topping[@value='onion']
c.//order[@quantity>1 and topping/@value='onion']
d. None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!