Subject: [xsl] Generate N elements and attribute values From: "Kenny Bogoe (BogoeMD)" <kenny@xxxxxxxxx> Date: Fri, 16 Jul 2004 20:50:04 +0200 |
I have already posted a question on how to generate dynamic attribute values within a recursive template, but I have to admit that I got a bit confused when reading my own posting, so I retry with a simplified version of my problem. A recursive template is generating N=4 <tr> and another inline recursive template is generating n=3 <td> and so far I have no problems. But when it comes to the attribute values of <td name="?"/> I really do not know what to do since the @name of <td> is generated on the fly and after all <tr> are generated. As shown in the result tree below the @name of <td> always follows the @no of <tr>. So my simple question is how to generate @name values on the fly? This is the result tree I need: <tr no="0"> <td name="0"/> <td name="0"/> <td name="0"/> </tr> <tr no="1"> <td name="1"/> <td name="1"/> <td name="1"/> </tr> <tr no="2"> <td name="2"/> <td name="2"/> <td name="2"/> </tr> <tr no="3"> <td name="3"/> <td name="3"/> <td name="3"/> </tr> Thanks, Kenny Bogoe
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Okay to build Keys on Var, Michael Kay | Thread | Re: [xsl] Generate N elements and a, Wendell Piez |
[xsl] Okay to build Keys on Variabl, Karl J. Stubsjoen | Date | RE: [xsl] Okay to build Keys on Var, Michael Kay |
Month |