[
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>
|