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
6 months agoNoel
6 months agoAriel
7 months agoCarmelina
7 months agoShaun
7 months agoBronwyn
7 months agoBarrett
8 months agoTu
8 months agoMargret
8 months agoBeckie
8 months agoMerissa
8 months agoLashunda
8 months agoGilma
8 months agoFrancesco
1 year agoJulieta
11 months agoDominque
12 months agoElke
12 months agoChristene
1 year agoLemuel
1 year agoLeanora
1 year agoCamellia
1 year agoMicah
12 months agoCarmen
12 months agoHannah
12 months agoBernardo
1 year agoMilly
1 year agoStevie
1 year agoJenelle
1 year agoGilma
1 year agoElroy
1 year ago