Re: beginner problem with attlist

Subject: Re: beginner problem with attlist
From: "Christoph Linn" <c.linn@xxxxxxxxxx>
Date: Mon, 17 Jan 2000 14:46:59 +0100
> The first <xsl:for-each> changes the current node to be a Dokument. Your
> second <xsl:for-each> will select the Adresse children of the Dokument
> children of the current node. Unless you have Dokument elements nested
> within Dokument elements, I suspect the second <xsl:for-each> should be
> <xsl:for-each select="Adresse">.

Thanks, it works now.

> Incidentally, the <xsl:when> here will work but is very contorted. Much
> simpler to write <xsl:when test="@Art='Rechnung'">

That doesn't work in my XSL file.

Christoph Linn

 XSL-List info and archive:

Current Thread