Hallo Timo,
Das sollte aber acuh eine andere Möglichtkeit geben, die nur <xsl:template match> benutzt,ohne die for-each.
Ja, xsl:template und xsl:apply-templates kombiniert:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="fn xs">
<xsl:template match="adressen">
<html>
<head><title>Test</title></head>
<body>
<h1>Adressenliste</h1>
<xsl:apply-templates select="adresse"/>
</body>
</html>
</xsl:template>
<xsl:template match="adresse">
<p><xsl:value-of select="."/></p>
</xsl:template>
</xsl:stylesheet>
Grüße,
Thomas