George is developing an XSLT style sheet to display data from research surveys. The structure of the surveys.xml file is shown in the accompanying figure. He comes to you for assistance in preparing the final file.?
?The source document contains data for thousands of surveys. George would like to display information for only the first six surveys. Which of the following shows the correct syntax for the predicate George should use to insure only the first six surveys are displayed?
A. ?[position() <= 5]
B. ?[position() = 5]
C. ?[position() <= 5]
D. ?[position() < 6]
Answer: A
Computer Science & Information Technology
You might also like to view...
FIGURE EX 4-1 In Figure EX 4-1 above, number 3 is pointing to the ____ menu.
A. Customize Calculations B. Calculations Options C. Show Formulas D. Manual Calculations
Computer Science & Information Technology
Which of the following statements declares a function with a pointer variable as a parameter?
A. void fun (int ptr); B. void fun (&int ptr); C. void fun (*int ptr); D. void fun (int& ptr); E. void fun (int* ptr);
Computer Science & Information Technology