Subject: [xsl] Re: From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Thu, 09 May 2002 14:54:14 +0200 |
<!-- Add the cells. --> <xsl:template match="ART" mode="cell"> <td><xsl:value-of select="NAME"/></td> </xsl:template>
If i have, i have writted bellow xml file, how can i present this file in this form: <tr><td>1</td><td>2</td><td>3</td></tr> <tr><td>4</td><td>5</td><td>6</td></tr>
this is my intention: to format the xml file in a html but only with 3 celds but x rows. if i make a foreach i only know ,to writte i a celd, only one row, but i want to writte in three celds. is posible? can anybody helps me? thanks
############ XML FILE ############ <?xml version="1.0" encoding="UTF-8"?> <ARTS> <ART> <NAME>1 </NAME> <VALUE>11 </VALUE> </ART> <ART> <NAME>2 </NAME> <VALUE>22 </VALUE> </ART> <ART> <NAME>3 </NAME> <VALUE>33 </VALUE> </ART> <ART> <NAME>4 </NAME> <VALUE>44 </VALUE> </ART> <ART> <NAME>5 </NAME> <VALUE>55 </VALUE> </ART> <ART> <NAME>6 </NAME> <VALUE>66 </VALUE> </ART> <ART> <NAME>7 </NAME> <VALUE>77 </VALUE> </ART> <ART> <NAME>8 </NAME> <VALUE>88 </VALUE> </ART> </ARTS>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: [arranging data in column, Michael Kay | Thread | [xsl] RE: Carlos problem, Macaulay,Malcolm (US |
Re: [xsl] encoding question/problem, David Carlisle | Date | Re: [xsl] Stylesheet accessing dyna, Jeni Tennison |
Month |