[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Division

Subject: Division
From: Alvaro Mujica <amujicaj@xxxxxxxxxx>
Date: Thu, 31 Jan 2002 11:22:20 -0400
xsl 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


Current Thread
  • Division
    • Alvaro Mujica - Thu, 31 Jan 2002 09:20:50 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.