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

Process an element depending...

Subject: Process an element depending...
From: "Alvaro Mujica " <amujicaj@xxxxxxxxxx>
Date: Thu, 14 Mar 2002 18:56:53 -0400
 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


Current Thread

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.