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

XSLT hyperlink 1

Status
Not open for further replies.

5679

Programmer
Feb 14, 2003
32
AU
I am tryiny to render an xml doc to HTML. the xml is like this:

<?xml version="1.0"?>
<links>
<link name="XML Pitstop" url=" description="A great place for XML Demos."/>

</links>

I have to display the "name" and "description" attributes as html, that works fine using XSLT. but how to put the URL as a hyperlink on the "name" attribute. i cannot do that
 

have you tried:

<xsl:element name="A">
<xsl:attribute name="HREF"></xsl:attribute>
</xsl:element>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top