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
9 months agoNoel
9 months agoAriel
10 months agoCarmelina
10 months agoShaun
10 months agoBronwyn
10 months agoBarrett
11 months agoTu
11 months agoMargret
11 months agoBeckie
11 months agoMerissa
11 months agoLashunda
11 months agoGilma
11 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