Multiple Choice
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 the precinctNames key 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") )
Correct Answer:
Verified
Related Questions