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
Q57: If you find it difficult to work
Q58: You can have your processor test whether
Q59: The _ step to employ Muenchian grouping
Q60: Keys are declared in the _.
A) DTD
B)
Q61: _ are location paths that allow the
Q63: Q64: The _ function returns a node set Q65: _ is the processor used by Internet Q66: The _ is an index based on Q67:
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents