Examlex

Solved

Craig Is Working to Develop an XSLT Application to Display

question 35

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 be able to use data from both documents in his application. You suggest he create variables that will allow him to pull the node sets from both files. Which of the following shows the correct syntax to create a variable named candidatesDoc to reference the root node of the candidates.xml file? A)  <xsl:variable name= candidatesDoc  match= document()  'candidates.xml')    /> B)  <xsl:variable name= candidatesDoc  select= doc('candidates.xml')    /> C)  <xsl:variable name= candidatesDoc  match= doc('candidates.xml')    /> D)  <xsl:variable name= candidatesDoc  select= document()  'candidates.xml')    />
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 be able to use data from both documents in his application. You suggest he create variables that will allow him to pull the node sets from both files. Which of the following shows the correct syntax to create a variable named candidatesDoc to reference the root node of the candidates.xml file?


Definitions:

Ratification

The act of formally approving an agreement or decision, making it officially valid, often after the fact.

Acquiescence

Silent or passive acceptance or agreement without protest.

Concealment

The act of hiding or withholding important information, particularly in legal or financial contexts.

Material

Referring to facts or information that are significant or essential to the issue or subject at hand.

Related Questions