XML I10-002 Exam - Topic 4 Question 79 Discussion
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.)
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>
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>
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>
Amira
8 months agoNoel
8 months agoAriel
8 months agoCarmelina
8 months agoShaun
9 months agoBronwyn
9 months agoBarrett
9 months agoTu
9 months agoMargret
9 months agoBeckie
9 months agoMerissa
9 months agoLashunda
9 months agoGilma
10 months agoFrancesco
1 year agoJulieta
1 year agoDominque
1 year agoElke
1 year agoChristene
1 year agoLemuel
1 year agoLeanora
1 year agoCamellia
1 year agoMicah
1 year agoCarmen
1 year agoHannah
1 year agoBernardo
1 year agoMilly
1 year agoStevie
1 year agoJenelle
1 year agoGilma
1 year agoElroy
1 year ago