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]

Process an element depending...


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


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