[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: cannot reach the inner tags
I may not have understood what you are looking for in output, but I think you are missing a for-each loop <xsl:template match="Nummer"> <table> <xsl:for-each select="Nummer.AZ"> <tr> <td><xsl:value-of select="."/></td> </tr> </xsl:for-each> <xsl:for-each select="Nummer.Satz"> <tr> <td><p align="justify"><xsl:value-of select="."/></p></td> </tr> </xsl:for-each> </table> </xsl:template> -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Franz Figl Sent: Thursday, February 22, 2001 4:07 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: cannot reach the inner tags Hi list, I cannot reach the tags b-e with this xsl, I need the first <td>'s empty after the second line. Could someone give me a hint please? Franz I need the following: 1. a text text text b text text text c text text text... <Nummer> <Nummer.AZ><fett>1.</fett></Nummer.AZ> <Nummer.Satz>a</Nummer.Satz> <Nummer.Satz>b</Nummer.Satz> <Nummer.Satz>c</Nummer.Satz> <Nummer.Satz>d</Nummer.Satz> <Nummer.Satz>e</Nummer.Satz> </Nummer> <xsl:template match="Nummer"> <table> <xsl:for-each select="Nummer.AZ | Nummer.Satz"> <tr> <td><xsl:value-of select="Nummer.AZ"/></td> <td><p align="justify"><xsl:value-of select="Nummer.Satz"/></p></td> </tr> </xsl:for-each> </table> </xsl:template> 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
|