Multiple Choice
Sandra is working with an XML file containing product orders with the structure shown in the accompanying figure. She was just introduced to step patterns, and would like to incorporate them into the style sheet she is developing to display the orders data. She comes to you for help in developing expressions incorporating step patterns.
-Sandra would like to write an expression to select the third order element that follows the context node as a sibling. Which of the following do you tell her is the correct expression?
A) sibling::order[3]
B) following::order[3]
C) sibling-or-self::order[3]
D) following-sibling::order[3]
Correct Answer:
Verified
Related Questions