XML I10-002 Exam - Topic 2 Question 104 Discussion
Push the Exhibit Button to load the referenced "XML Document".[XML Document]lmnopAssume that the "XML document" is changed to the "Results XML Document." Select which XSLT style sheet correctly performs the transformation.Note that the XSLT processor can output transformation results as a document.[Results XML Document]Or
B) <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:template match= ' / ' >
<xsl:apply-templates select= ' root/data ' />
</xsl:template>
<xsl:template match= ' data ' >
<xsl:element name='{ . }'/>
</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= ' root/data ' />
</xsl:template>
<xsl:template match= ' data ' >
<xsl:element name='<xsl:value-of select='.'/>'/>
</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= ' root/data ' />
</xsl:template>
<xsl:template match= ' data ' >
<xsl:element name='.'/>
</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= ' root/data ' />
</xsl:template>
<xsl:template match= ' data ' >
<xsl:text disable-output-escaping='no'><</xsl:text>
<xsl:value-of select='.'/>
<xsl:text disable-output-escaping='no'>/></xsl:text>
</xsl:template>
</xsl:stylesheet>
Lilli
4 days agoWhitney
9 days agoLilli
15 days agoTelma
20 days agoKerrie
25 days agoVincenza
1 month agoLuz
1 month agoPearly
1 month agoMila
2 months agoChantell
2 months agoCristy
2 months agoRosalyn
2 months agoTamera
2 months agoLashanda
2 months agoStefan
4 months agoJannette
4 months agoLeah
4 months ago