XML Development

Moderators: None (Apply to moderate this forum)
Number of threads: 257
Number of posts: 456

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Data bind XML image to HTML table Posted by DudeWhoa on 9 Nov 2005 at 6:28 PM
Here is a cut of an xml database i have:

<PLAYER>
<NAME>Eddie George</NAME>
<NO>27</NO>
<POS>RB</POS>
<TM>Tennessee Titans</TM>
<REL>Released 2001</REL>
<IMAG>what do i put here?</IMAG>
</PLAYER>

Then i have an html page that uses a table and puts each attribute into the table.

<td><span datafld="REL"></span></td>

As you know, REL loads the REL tag from the database and puts the info in that cell of the table. However, IMAG is supposed to store an image of the item. Do i just put the filename there or do i put like

<IMAG><img src=pic.jpg></img></IMAG>

I have tried a few things but i dont know what to put in the xml database nor do i know what to put in the html to get it to load the image. Any help is appreciated.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.