?
Craig is working to develop an XSLT application to display election results, using XML files with the structures shown in the accompanying figure. He has heard that you have experience developing applications, and comes to you for guidance.
Now that theprecinctNameskey has been declared, Craig would like to use it to return a count of all votes from the precinct of Ceylon. Which of the following functions do you suggest he use to do this?

A. ?count(key="precinctNames" select="Ceylon")
B. ?count(key("precinctNames", "Ceylon"))
C. ?count::precinctNames//"Ceylon"
D. ?key("precinctNames", count("Ceylon"))


Answer: B

Computer Science & Information Technology

You might also like to view...

The default workbook contains a worksheet, titled Worksheet1.

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

Computer Science & Information Technology

When should an interviewer compose a written interview report and why?

What will be an ideal response?

Computer Science & Information Technology

Which of the following statements is true about creating an image link?

A) An image link must include an ID attribute. B) The href attribute is added to the image tag. C) The image tag must be included within the tags. D) The image link will be underlined the same as a text link.

Computer Science & Information Technology

When looking at your monitor, you can print all of the colors you see.

a. true b. false c. only with special monitors

Computer Science & Information Technology