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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display an image from inside a tag?

Status
Not open for further replies.

Sastira

Technical User
Oct 31, 2003
1
US
I am rather new to XML, I just started today actually. I managed to get everything working for my news posting program ( but when I attempted to put in an image like I would have done in html, it didn't work. I have spent a few hours searching around for an answer, and have been unable to locate something to help me with this particular problem.

What I am trying to do is this:
Code:
<news>
    <newsitem>
        <content>
        Test Image: <img src = &quot;[URL unfurl="true"]http://sastira.3dfightclub.com/diamond.jpg&quot;/>[/URL]
        </content>
    </newsitem>
</news>

When I do it this way, I get no errors when parsing the XML, but the image does not show up either. Any help would be appreciated!

Thanks in advance!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top