Examlex

Solved

Hue Is Developing an XSLT Style Sheet to Display Data

question 36

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


Definitions:

Employment Equity

Policies and practices aimed at achieving equality in the workplace so that no individual or group is discriminated against in employment opportunities, compensation, or promotion.

Protected Groups

Designates categories of individuals legally protected from discrimination and harassment in the workplace, such as based on race, gender, religion, or disability.

Reasonable Accommodation

Voluntary adjustments to work or workplace that allow employees with special needs to perform their job effectively.

Voluntary Adjustments

Changes made willingly or without compulsion, often referring to adjustments in working conditions, salary, or policies initiated by employers or employees.

Related Questions