WI-damian-kaminski/zadania/zadanie_7/zadanie.xsl

40 lines
963 B
XML
Raw Permalink Normal View History

2022-02-22 18:32:26 +01:00
<?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 border="1">
<xsl:for-each select="klient">
<tr>
<td style="text-align:center" colspan="2">
<b>Klient</b>
</td>
</tr>
<tr>
<td style="text-align:left">Imie</td>
<td><xsl:value-of select="imie"/></td>
</tr>
<tr>
<td style="text-align:left">Nazwisko</td>
<td><xsl:value-of select="nazwisko"/></td>
</tr>
<tr>
<td style="text-align:left">Data urodzenia</td>
<td><xsl:value-of select="data_urodzenia"/></td>
</tr>
<tr>
<td style="text-align:left">Pesel</td>
<td><xsl:value-of select="pesel"/></td>
</tr>
<tr>
<td style="text-align:left">Wiek</td>
<td><xsl:value-of select="wiek"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>