Imagem de fundo

Considere o código XSLT a seguir.<?xml version="1.0" encoding="UTF-8"?> <xsl:s...

Considere o código XSLT a seguir.



<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

>

<xsl:template match="/">

<html>

<body>

<table>

<xsl:for-each select="cadastro/pessoa">

<tr>

<td><xsl:value-of select="nome"/></td>

<td><xsl:value-of select="idade"/></td>

</tr>

</xsl:for-each>

..</table>

</body>

</html>

</xsl:template>

</xsl:stylesheet>

Esse código transforma um documento XML em um documento:


A

CSV


B

XHTML


C

YAML


D

JSON


E

XLS