469,631 Members | 1,218 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

Hyperlink + XML

Hello
I need some help to make a hyperlink in a XML file.
My XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>

<TERAPEUTLISTE>
<TERAPEUT>
<NAVN>Et navn</NAVN>
<ADRESSEN>En adresse</ADRESSEN>
<POST_BY>Postnummer og Bynavn</POST_BY>
<EMAIL>En email</EMAIL>
<WEBSITE>http://www.domæne.dk</WEBSITE>
<TLFNR>Et telefonnummer</TLFNR>
</TERAPEUT>
</TERAPEUTLISTE>

and in my HTML file I call the XML-file like this:

<xml id="terapeutliste" src="data.xml"></xml>
<table datasrc="#terapeutliste">
..
..
<tr>
<td><strong>Website</strong></td> <td><span
datafld="WEBSITE"></span></td>
</tr>
</table>
What I need to know is how I can make it clickable?
I have found a lot of sites with explanations about xml, but i still do not
understand how to make the hyperlink clickable

So please help me.
Best Regards
Nybien
Dec 19 '05 #1
1 1427
On Mon, 19 Dec 2005 23:06:45 +0100, "Newbie@news" <mainemarks at
varmmail.com> wrote:
and in my HTML file I call the XML-file like this:

<xml id="terapeutliste" src="data.xml"></xml>
<table datasrc="#terapeutliste">


Don't use DSO (the datasrc / datafld stuff) It doesn't work.

Instead, use XSLT. You can use this client-side (on the browser)
although this is likely to be dependent on IE. Use it on the server if
you want better cross-browser support.

Any XSLT tutorial will tell you how to generate a hyperlink in HTML. Or
you can search this newsgroup through groups.google.com
Dec 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Ryan Harvey | last post: by
5 posts views Thread by Martin Dew | last post: by
9 posts views Thread by Leon | last post: by
19 posts views Thread by Joe | last post: by
8 posts views Thread by Nathan Sokalski | last post: by
20 posts views Thread by tshad | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.