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
You might also like to view...
Which of the following is true about the physical file structure of a SQL Server database?
A. it must have at least one log and one data file B. only a data file is required C. there are two data files for every log file D. log files organize data in tables and indexes
Consider the following statements.public class Circle{ private double radius; public Circle() { radius = 0.0; } public Circle(double r) { radius = r; } public void set(double r) { radius = r; } public void print() { System.out.println(radius + " " + area + " " + circumference); } public double area() { return 3.14 * radius * radius; } public double circumference() { return 2 * 3.14 * radius; }}Circle myCircle = new Circle();double r;Which of the following statements are valid in Java? (Assume that console is Scanner object initialized to the standard input device.)(i) r =
console.nextDouble(); myCircle.area = 3.14 * r * r; System.out.println(myCircle.area);(ii) r = console.nextDouble(); myCircle.set(r); System.out.println(myCircle.area()); A. Only (i) B. Only (ii) C. Both (i) and (ii) D. None of these
Match the following Touch Gestures with their actions
I. 1-Finger tap II. 2-Finger tap III. 3-Finger tap IV. 4-Finger tap V. 1-Finger drag A. Right-click B. Invoke Action Center C. Move Cursor D. Left-click E. Invoke Cortana
The colors in the palettes all have names. You can see the names by pointing to each color to see its ____.
A. ScreenTip B. Dialog box C. toolbar D. status bar