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