?
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 show only those orders that have a preceding sibling containing the sameorderDate. Which of the following do you tell her is the correct expression?

A. ?orderDate=preceding::order/orderDate
B. ?not(orderDate=preceding::order/orderDate)
C. ?orderDate=ancestor::order/orderDate
D. ?not(orderDate=ancestor::order/orderDate)


Answer: A

Computer Science & Information Technology

You might also like to view...

The_______ buffer stores color information about each of the window’s pixels.

a) pixel. b) color. c) pixel_color. d) None of the above.

Computer Science & Information Technology

Answer the following questions true (T) or false (F)

1. An advantage of using the Unicode character set is that it easily handles languages other than English. 2. Java uses the ASCII character set.

Computer Science & Information Technology

GNOME ____ are small programs available on the GNOME Panel that are designed to give you quick access to useful applications.

A. subroutines B. widgets C. applets D. pointers

Computer Science & Information Technology

Any text frames you create with gridify behavior will automatically be threaded.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology