This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Process an element depending...
- From: "Alvaro Mujica " <amujicaj at mi-mail dot cl>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 14 Mar 2002 18:56:53 -0400
- Subject: [xsl] Process an element depending...
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
I am transforming a XML document to a HTML document consisting of tables. I
have my page divided in 4 (nw, ne, sw, se). My tags to divide the page are
<nw><ne><sw><se>. I also can divide each section into four again using the
same sequence <nw><ne><sw><se>. Each section should have its physical space
even if I leave them empty. I don't know how to divide that space depending
on which level of depth I am.
For example,if I have this code:
<nw>
1.0
</nw>
<ne>
<nw>2.1</nw> <ne>2.2</ne>
<sw>2.3</sw> <se></se>
</ne>
<sw></sw>
<se>
4.0
</se>
The output should look something like this (it's just so you get the idea):
**************************************************
*1.0 2.1 2.2 *
* *
* 2.3 *
* *
* *
* 4.0 *
* *
**************************************************
Thank you very much,
Alvaro Mujica
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list