Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > >> Quickie question about hyperlinks in XML

Thread Tools

>> Quickie question about hyperlinks in XML

Gene Ellis
Posts: n/a
Very simple question. If I have the XML file below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="newspage.xsl"?>
<content>Click here for blah blah</content>
How can I use XLink to make an HTML hyperlink out of the "click here"
I have tried this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="newspage.xsl"?>
<content><ABC xlink:type="simple"
xlink:href="">Click here</ABC> for blah
But when I reference this element in my xsl document using:
<xsl:value-of select="newspage/content" /> The word appears without a
link. Is there a step I am forgetting? I am kinda new to XML. Thank
you very much for your suggesstions!
Reply With Quote

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SATA question - a quickie! Tony Sperling Windows 64bit 14 08-14-2006 10:12 PM
Quickie: definition of "context"? Roy ASP .Net 1 01-26-2006 05:51 PM
Quickie: Printing out code? Roy ASP .Net 2 10-19-2005 06:32 PM
Javascript Quickie Craig G ASP .Net 3 01-25-2005 12:14 PM
just a quickie Annette Kurten Computer Support 3 01-18-2004 11:43 PM