<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- Template principal -->
<xsl:template match="/">
<html>
<head>
<title>Formato de recordsets</title>
</head>
<body>
<h1>Recordset 1</h1>
<table>
<!-- Iterar sobre los elementos del recordset1.xml -->
<xsl:for-each select="document('recordset1.xml')/recordset1/registro">
<tr>
<td><xsl:value-of select="campo1"/></td>
<td><xsl:value-of select="campo2"/></td>
<!-- Agregar más campos según sea necesario -->
</tr>
</xsl:for-each>
</table>
<h1>Recordset 2</h1>
<table>
<!-- Iterar sobre los elementos del recordset2.xml -->
<xsl:for-each select="document('recordset2.xml')/recordset2/registro">
<tr>
<td><xsl:value-of select="campo1"/></td>
<td><xsl:value-of select="campo2"/></td>
<!-- Agregar más campos según sea necesario -->
</tr>
</xsl:for-each>
</table>
<h1>Recordset 3</h1>
<table>
<!-- Iterar sobre los elementos del recordset3.xml -->
<xsl:for-each select="document('recordset3.xml')/recordset3/registro">
<tr>
<td><xsl:value-of select="campo1"/></td>
<td><xsl:value-of select="campo2"/></td>
<!-- Agregar más campos según sea necesario -->
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>