I10-002 Free Dumps Study Materials
Question 3: Push the Exhibit Button to load the referenced "XML Document".
Assume that the character "3" is obtained from the "XML document". Select which XSLT style sheet
correctly performs the transformation. (Multiple answers possible. Select two.)
A. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match= " / " >
<xsl:apply-templates select= " //data[x='1'][y='2'] " />
</xsl:template>
</xsl:stylesheet>
B. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match= " / " >
<xsl:apply-templates select= " //data[(attribute::x='1') and (text()='3')] " />
</xsl:template>
</xsl:stylesheet>
C. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match= " / " >
<xsl:apply-templates select= " //data[self='3'] " />
</xsl:template>
</xsl:stylesheet>
D. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match= " / " >
<xsl:apply-templates select= " //data[self::*='3'] " />
</xsl:template>
</xsl:stylesheet>
Correct Answer: BD