Examlex

Solved

Craig Is Working to Develop an XSLT Application to Display

question 52

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  />
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?


Definitions:

Kilograms

A unit of mass in the metric system, equal to 1,000 grams or approximately 2.20462 pounds.

Ice Cream Cones

Edible waffle cones filled with ice cream, available in various flavors and sizes.

Range

The difference between the highest and lowest values in a dataset, indicating the dataset's spread.

Kilograms

A unit of mass in the International System of Units (SI), equal to 1000 grams.

Related Questions