RE: [xsl] cannot reach the inner tags

Subject: RE: [xsl] cannot reach the inner tags
From: "Hahn, Kimberly" <Kim.Hahn@xxxxxxxxxx>
Date: Thu, 22 Feb 2001 16:41:33 -0600
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: [xsl] 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


Current Thread