Solved

Craig Is Working to Develop an XSLT Application to Display

Question 76

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. -Craig would like to add a key named precinctNames based on each votes element's precinct name. Which of the following elements do you recommend he add to the style sheet to create the key with the correct syntax? A)  <xsl:key name= precinctNames  match= //votes  use= @precinct  /> B)  <xsl:key name= precinctNames  match= //votes  select= @precinct  /> C)  <xsl:key name= precinctNames  match= //votes  use= precinct  /> D)  <xsl:key name= precinctNames  match= //votes  select= precinct  />
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.
-Craig would like to add a key named precinctNames based on each votes element's precinct name. Which of the following elements do you recommend he add to the style sheet to create the key with the correct syntax?


A) <xsl:key name="precinctNames" match="//votes" use="@precinct" />
B) <xsl:key name="precinctNames" match="//votes" select="@precinct" />
C) <xsl:key name="precinctNames" match="//votes" use="precinct" />
D) <xsl:key name="precinctNames" match="//votes" select="precinct" />

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents