|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:for-each question
Thank you very much, you´re right. I´m yet not really in the thinking of
templates. I still try to "program" my xslt like I´m used to do it with
Java-Programs.
But how can I do it, that the @name appears in a diffrent td. The html output shoul look in text Form like: Menu1 Submernu1 Submenu2 Submenu3 SubSubmenu1 SubSubmeu2 Submenu4 Submenu5 SubSubmenu1 SubSubmenu2 Menu2 Submenu1 SubSubmenu1 SubSubmenu2 So I need to make the template varaible from the depth of the topic-level. <xsl:template match="topic">
<td>
<xsl:value-of select="@name"/>
</td>
<td>
</td>
<xsl:apply-templates/>
</xsl:template>Also if I´m in a topic level and there are more childs, the name of this topic level should not be displayed anymore, till every child was displayed. Thanks for your help Take care Michael r.devries@xxxxxxxx wrote: Hi Michael,
___ |X__________________________________________________________ X| eXXcellent solutions gmbh In der Wanne 55 D-89075 ulm e | m.olszynski@xxxxxxxxxxxxx t | +49 [0]731-55026-39 f | +49 [0]731-55026-99 i | www.exxcellent.de ________________________________________________________________ Geschäftsführer: Dr. Martina Maier, Wilhelm Zorn, Gerhard Gruber Sitz der Gesellschaft: Ulm, Registergericht: Ulm HRB 4309 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
|

Cart








