Subject: Re: [xsl] xsl:for-each question From: r.devries@xxxxxxxx Date: Thu, 30 Oct 2003 14:07:44 +0100 |
Hi Michael, Can you show us your XML and your desired output? Greetings René {@ @} ^ \_/ "You don't need eyes to see, you need vision!" TJIP PCL Steenovenweg 3 5708 HN Helmond The Netherlands tel: +31(0) 492 502 226 fax: +31(0) 492 502 299 e-mail: R.deVries@xxxxxxxx internet: www.tjip.com ***************************DISCLAIMER******************************** Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. TJIP PCL sluit iedere aansprakelijkheid uit die voortvloeit uit elektronische verzending. This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). TJIP PCL rules out any and every liability resulting from any electronic transmission. Michael Olszynski <m.olszynski@xxxxxxxxxxxxx> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Sent by: cc: owner-xsl-list@xxxxxxxxxxxx Subject: Re: [xsl] xsl:for-each question rytech.com 30-10-2003 14:22 Please respond to xsl-list 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:for-each question, Cas Tuyn | Thread | [xsl] Recall: Can't we use document, Narender S chauhan |
[xsl] Recall: Can't we use document, Narender S chauhan | Date | Re: [xsl] Selecting namespaces, David Carlisle |
Month |