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 candidatesDoc variable has been created, Craig would like to define a key named cKey based on the values of the candidateID attribute for the candidate. Which of the following do you tell him shows the correct syntax to use to define this key?
A) <xsl:key name="cKey" match="candidate" use="@candidateID" />
B) <xsl:key name="cKey" match="candidate" select="@candidateID" />
C) <xsl:key name="cKey" match="candidate" use="candidateID" />
D) <xsl:key name="cKey" match="candidate" select="candidateID" />
Correct Answer:

Verified
Correct Answer:
Verified
Q47: IDs can be associated only with elements
Q48: ID attributes must be valid XML names
Q49: _ is a programming technique in which
Q50: The _ attribute tells the XSLT processor
Q51: The _ attribute provides a way to
Q53: _ is the processor used by Internet
Q54: To reverse a node set, you use
Q55: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TBX9153/.jpg" alt=" -The accompanying figure
Q56: The _ provides an expression that the
Q57: When two templates can be applied to