Log in

View Full Version : Working anchor in xml



boxxertrumps
10-25-2006, 11:43 PM
how would i have a link displayed in an XML file? i tried <link><a href=""></a></link>, and that didnt work i tried putting it in a cdata block and that didnt work... i have no clue what to do now.
i have php5 installed, if that helps....
maybe an echo '<a href="$url">$text</a>' statement but im unable to write that on my own...
any help appreciated,
Ryan "Boxxertrumps" Trumpa

the-disturbed
10-26-2006, 12:36 AM
what a coincidence i need an answer to this two lol, ive got a bunch of data stored in an xml file, and wanted to put links in there to so i didnt have to put them in the html code

codeexploiter
10-26-2006, 05:55 AM
Checkout the following two resources

resource one (http://www.w3.org/TR/xlink/#N781)

resource two (http://annevankesteren.nl/2005/02/xml-links)