Re: beginner problem with attlist

Subject: Re: beginner problem with attlist
From: "Christoph Linn" <c.linn@xxxxxxxxxx>
Date: Mon, 17 Jan 2000 09:07:37 +0100
Thanks, but it still doesn't work.
Now it looks like:

<xsl:for-each select="Dokument">
    <xsl:choose>
      <xsl:when test=".[@Art='Rechnung']">

         <xsl:for-each select="Dokument/Adresse">
            <xsl:choose>
             <xsl:when test=".[@Art='Ersteller']">

(...)

            </xsl:when>
           </xsl:choose>
        </xsl:for-each>

      </xsl:when>
    </xsl:choose>
</xsl:for-each>

There is still no error message, but you can't see anything of the (..) part
in the browser. If I only use

<xsl:for-each select="Dokument">
    <xsl:choose>
      <xsl:when test=".[@Art='Rechnung']">
(..)

or only the other it works, but not the two together.


Christoph Linn
----- Original Message -----
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Cc: <c.linn@xxxxxxxxxx>
Sent: Monday, January 17, 2000 2:58 AM
Subject: RE: beginner problem with attlist


> Christoph Linn wrote:
> > <xsl:when match=".[@Art='Rechnung']">
>
> The attribute on xsl:when should be test, not match.
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread