This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Division


Hi,
    I'm trying to transform an xml document into a html document. I'm having
problems with one issue. The xml document goes something like this:

<nw>
<text>
A
</text>
</nw>
<ne>
<nw>
<text>
1
</text>
</nw>
<ne>
<text>
2
</text>
</ne>
<sw>
<text>
3
</text>
</sw>
<se>
<text>
4
</text>
</se>
</ne>
<sw>
<text>
B
</text>
</sw>
<se>
<text>
C
</text>
</se>

I'm trying to divide the page in 4 and in this case I'm trying to divide the
upper right corner in four also. I'm having this xsl for the ne tag (the
other tags are similar):

<xsl:template match="ne">
<td><br/><div align="center">
<table width="300" height="100">
<tr>
<xsl:apply-templates select="nw"/>
<xsl:apply-templates select="ne"/>
</tr>
<tr>
<xsl:apply-templates select="sw"/>
<xsl:apply-templates select="se"/>
</tr>
</table>
<xsl:apply-templates/>
</div></td>
</xsl:template>

It does everything ok but after the division in the upper right corner it
writes 1234.

Thank you very much in advance.
Alvaro


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]