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

Building html table from atributes

Subject: Building html table from atributes
From: Jarkko.Moilanen@xxxxxx
Date: Thu, 08 Aug 2002 15:37:37 +0300 (EEST)
html table atributes
Hi!

I have been given a challenge and I have no idea how to start 
solving it. I should build html table from xml file using 
xslt. The xml file would be similar to below: 

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?> 
<XDocument>
<XDocTemplate>111111aaaaaaa</XDocTemplate> 

<XDocCell row="1" col="1">
<XDocPretext>Text</XDocPretext> 
</XDocCell>

<XDocCell row="1" col="2">
<XDocPretext>Text</XDocPretext> 
</XDocCell>

<XDocCell row="1" col="3">
<XDocPretext>Text</XDocPretext> 
</XDocCell>

<XDocCell row="1" col="4">
<XDocPretext>Text</XDocPretext> 
</XDocCell>

<XDocCell row="2" col="1">
<XDocPretext>Text</XDocPretext> 
</XDocCell>

<XDocCell row="2" col="2">
<XDocPretext>Text</XDocPretext> 
</XDocCell>
</XDocument>

Now I should place the <XDocPretext> contents to different cell in the
table. The correct cell is indicated in the <XDocCell> attributes row and 
col. The table should always have four cell in a row, even if there 
is no content (eg. element for that cell in the xml file).

Please give me some hints how to start working with this.

Cheers 
Jarkko


****************************************************************
Jarkko Moilanen          "Erehtyminen on inhimillista, 
Researcher/ ITCM         mutta todella suuret mokat 
jm60697@xxxxxx           vaativat tietokoneen käyttöä."         
www.uta.fi/~jm60697                                           
GSM: +358 50 3766 927                                         
****************************************************************
* ITCM | Information Technology and Crisis Management            
* http://www.itcm.org                                            
****************************************************************

 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.