XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 24th, 2004, 12:03 PM
playaz playaz is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 9 playaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Display images using XML / HTML

I am using XML to feed data into html page - so far the first initial 6 fields all display - however I am unable to get the image to display in the 3rd column.
http://tinyurl.com/34vpv
I am unsure if this is possible, but I'm sure there must a 'work-around'
Below is an extract from my xml file named "sport_xml_1.xml"
PHP Code:
<DATABASE>
    <
PLAYERS>
        <
NAME>Fabien Barthez</NAME>
        <
TEAM>Manchester United</TEAM>
        <
DOB>28/6/71</DOB>    
        <
POSITION>Goalkeeper</POSITION>
        <
APPS>139</APPS>
        <
GOALS>0</GOALS>
        <
IMG><graphic entity="barthez.jpg"/></IMG>
    </
PLAYERS


As you can see from the link - all the information is displayed correctly (not very pretty i know - i have yet to use any xsl formatting )
How can I get the image to display in the browser (IE6.0) ?

Thanks

Reply With Quote
  #2  
Old April 1st, 2004, 03:02 PM
tsprings tsprings is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Seattle, WA
Posts: 55 tsprings User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 20 sec
Reputation Power: 5
Hi playaz.

I can't get your link to work. I'd be happy to help you with this problem if I could see how you're trying to display the images. Feel free to post an excerpt of your xsl/html code.

Reply With Quote
  #3  
Old April 1st, 2004, 03:17 PM
MattSidesinger's Avatar
MattSidesinger MattSidesinger is offline
Java PHP Oracle Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: C-Bus OH-IO
Posts: 204 MattSidesinger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 26 sec
Reputation Power: 5
Send a message via AIM to MattSidesinger

Reply With Quote
  #4  
Old April 1st, 2004, 03:19 PM
MattSidesinger's Avatar
MattSidesinger MattSidesinger is offline
Java PHP Oracle Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: C-Bus OH-IO
Posts: 204 MattSidesinger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 26 sec
Reputation Power: 5
Send a message via AIM to MattSidesinger
I saw this in your code right away:
Code:
<img src=<span alt="Image" datasrc="#xmldso" datafld="IMAGE">

What happens when you change src=<span to src="span" ?

What about changing datafld="IMAGE" to datafld="IMG" ?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Display images using XML / HTML


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT