[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
xsl when match template
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.