[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: beginner problem with attlist
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|