...

View Full Version : xml link problems



masterofwee
11-22-2008, 09:20 AM
can any xml pros tell me why my link is not working??


<items>
<product>
<id>WRISTBAND</id>
<title><a href="http://www.google.com">Silicone Wristband</a></title>
<description>Hottest Fashion Silicone Jelly Rubber Wristbands (assorted)</description>
<img>../images/wrist.jpg</img>
<price>3.00(dozen)</price>
</product>
<items>

thanks guys.

shyam
11-22-2008, 07:08 PM
anchor tags are supported only in html not in xml :/...if you want ur link to show up you should transform your xml using xsl (http://www.w3schools.com/xsl)

masterofwee
11-22-2008, 08:41 PM
I tried to make it a link reading the link you gave my but it didnt work -______-

Alex Vincent
11-23-2008, 04:58 PM
Another way would be to give your link the XHTML namespace:

<a href="http://www.google.com" xmlns="http://www.w3.org/1999/xhtml">Silicone Wristband</a>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum