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

RE: cannot reach the inner tags

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


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.