OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Data Islands populating a table

[ Lists Home | Date Index | Thread Index ]

hi,

I am after a method to automatically generate a table from an XML file.

The code below generates a table with a fixed number of columns but a
variable number of rows.

What I want to be able to do is have only 1 row but a variable number of
columns, based on the data in the XML data file.  I don't need to use
Data Islands if there is any other method.

Thanks

Richard


<html>
<body>

<xml id="cdcat" src="cd_catalog.xml"></xml>

<table border="1" datasrc="#cdcat">
<tr>
<td><span datafld="ARTIST"></span></td>
<td><span datafld="TITLE"></span></td>
</tr>
</table>

</body>
</html>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS