Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple HTML table displaying XML! HELP!!!

Status
Not open for further replies.

Immense

Technical User
Jun 29, 2002
2
US
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=&quot;basicstats.xml&quot;
id=&quot;xmldso&quot;
async=&quot;false&quot;>
</xml>

<table
datasrc=&quot;#xmldso&quot;
width=&quot;100%&quot;
border=&quot;1&quot;>

<thead>
<th>Members</th>
<th>Faction</th>
<th>last update</th>
</thead>

<tr align=&quot;left&quot;>
<td><span datafld=&quot;&quot;></span></td>
<td><span datafld=&quot;side&quot;></span></td>
<td><span datafld=&quot;/firstname&quot;></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!
 
did I stump you all??!!! I hope not!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top