<?xml version="1.0" encoding="iso-8859-2"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" encoding="iso-8859-2" /> <xsl:template match="/lista-adresow"> <html> <head><title>Lista adresów</title></head> <link rel="stylesheet" type="text/css" href="adresy_html.css"/> <body> <xsl:apply-templates/> </body></html> </xsl:template> <xsl:template match="wpis"> <div class="wpis"> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="osoba"> <div class="osoba"> <b><xsl:value-of select="nazwisko"/></b> <xsl:for-each select="imie"> <xsl:value-of select="."/> </xsl:for-each> </div> </xsl:template> <xsl:template match="adres"> <div class="adres"> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="mieszkanie"> /<xsl:value-of select="."/> </xsl:template> </xsl:stylesheet>