I need help displaying information stored in an XML file in a HTML table, simple enough right? Not for me =( I can get the HTML table to display a few fields but Not all the ones I want... Here is what I am using atm:
<html>
<body>
<xml
src="basicstats.xml"
id="xmldso"
async="false">
</xml>
<table
datasrc="#xmldso"
width="100%"
border="1">
<thead>
<th>Members</th>
<th>Faction</th>
<th>last update</th>
</thead>
<tr align="left">
<td><span datafld=""></span></td>
<td><span datafld="side"></span></td>
<td><span datafld="/firstname"></span></td>
</tr>
</table>
</body>
</html>
Here is the XML file, it resides on a server and is updated periodically, so I cannot edit it..
I can get the fiels from Organization, Name, side, and last_updated to show up in my HTML table just fine.. But the problem is that I cannot get the firstname through photo_url fields to show up in the table.. when I edit the html file to display them all I get is a blank field...
PLEASE help me if you can! I know that the fields are CHILD fields, but I am not sure if there is a syntax that is used to display them, if so I am not usin it!
<html>
<body>
<xml
src="basicstats.xml"
id="xmldso"
async="false">
</xml>
<table
datasrc="#xmldso"
width="100%"
border="1">
<thead>
<th>Members</th>
<th>Faction</th>
<th>last update</th>
</thead>
<tr align="left">
<td><span datafld=""></span></td>
<td><span datafld="side"></span></td>
<td><span datafld="/firstname"></span></td>
</tr>
</table>
</body>
</html>
Here is the XML file, it resides on a server and is updated periodically, so I cannot edit it..
I can get the fiels from Organization, Name, side, and last_updated to show up in my HTML table just fine.. But the problem is that I cannot get the firstname through photo_url fields to show up in the table.. when I edit the html file to display them all I get is a blank field...
PLEASE help me if you can! I know that the fields are CHILD fields, but I am not sure if there is a syntax that is used to display them, if so I am not usin it!