[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to create hyperlinks using XSL or XML files
Just been working with this today :
In your xsl, try : <a> <xsl:attribute name="href"> <xsl:value-of select="@URL"> </xsl:attribute> <xsl:value-of select="@URL"> </a> This will insert href="@URL" (ie, the value of URL) into your anchor tag in the output, then URL will be (again) inserted between your anchor tags as text. HTH Neil Smith. At 14:44 12/12/2002 -0500, you wrote:
<snip/> I'm thinking that I have to work with the XSL file, but so far, I only see a way to hyperlink a single URL in the stylesheet -- so that the one hyperlinked URL is used in every listing in the XML document. ======================================================== VideoChat with friends online, get Freshly Toasted every day at http://www.fresh-toast.net : NetMeeting solutions for a connected world. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|