Re: beginner problem with attlist

Subject: Re: beginner problem with attlist
From: Eric RUBINAT <eric.rubinat@xxxxxxx>
Date: Mon, 17 Jan 2000 10:25:14 +0100
Perhaps the problem is that when you do a :
     <xsl:for-each select="Dokument/Adresse">

  You are allready on the <xsl:for-each select="Dokument"> context..
so perhaps you have to do a  <xsl:for-each select="Adresse"> instead of
previous <xsl:for-each select="Dokument/Adresse">...


    I'm sorry if i'm wrong...

Christoph Linn wrote:

> 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


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


Current Thread