|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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








