?Hue is developing an XSLT style sheet to display data from a research survey. The structure of the surveys.xml file is shown in the accompanying figure. She comes to you for assistance in preparing the final file.
?Hue would like to access the response attribute of the question element. Which of the following do you tell her represents the absolute reference to this attribute?

A. ?/surveys/survey/question/response
B. ?/surveys/survey/question/@response
C. ?question/@response
D. ?response

Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. You filter elements to produce a stream of intermediate results that match a predicate. b. IntStream method filter receives an object that implements the IntPredicate functional interface (package java.util.function). c. IntStream method sorted (a lazy operation) orders the elements of the stream into ascending order by default. All prior intermediate operations in the stream pipeline must be complete so that method sorted knows which elements to sort. d. Method filter is a stateless intermediate operation—it requires information about other elements in the stream in order to test whether the current element satisfies the predicate.

Computer Science & Information Technology

The first part of a file, the file ________, is how you identify the file when you save it.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology