Magna Concursos
2170516 Ano: 2022
Disciplina: TI - Desenvolvimento de Sistemas
Banca: VUNESP
Orgão: ALESP

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:

 

Provas

Questão presente nas seguintes provas

Analista Legislativo - Web Designer

60 Questões