Multiple Choice
Hue is developing an XSLT style sheet to display data from a research survey. The structure of the surveys.xml file is shown in the accompanying figure. She comes to you for assistance in preparing the final file.
-Hue would like to define a location path that matches both the surveyID and staffID elements nested within the survey element. Which of the following templates do you tell her properly matches both elements?
A) <xsl:template match="@surveyID|@staffID"> <td><xsl:value-of select="." /></td>
</xsl:template>
B) <xsl:template match="."> <td><xsl:value-of select="@surveyID|@staffID" /></td>
</xsl:template>
C) <xsl:template match=@"surveyID|staffID"> <td><xsl:value-of select="." /></td>
</xsl:template>
D) <xsl:template match="@surveyID"&"@staffID"> <td><xsl:value-of select="." /></td>
</xsl:template>
Correct Answer:

Verified
Correct Answer:
Verified
Q31: The _ template defines styles for the
Q32: When the _ attribute is omitted the
Q33: An XSLT _ is an XML document
Q34: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TBX9153/.jpg" alt=" In the node
Q35: Any node found at a level below
Q37: The _ comparison operator combines two expressions,
Q38: The fundamental template in the XSLT style
Q39: Identify the letter of the choice that
Q40: The _ attribute of the output element
Q41: Which of the following parts of a