[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Hyperlinks and XSL

Subject: Re: Hyperlinks and XSL
From: "Ingo Macherius" <macherius@xxxxxxxxxxxxxxxx>
Date: Thu, 15 Oct 1998 00:51:42 +0200

Bethany Close <xsl-list@xxxxxxxxxxxxxxxx> wrote at 14 Oct 98, 15:42:

> Given an XML tag like the following how can one create a
> hyperlink using XSL rules and actions?
> <image>clinton.jpg</image>
> Using XSL, I would like to create the following hyperlink:
> <a href="clinton.jpg">clinton.jpg</a>

This is working, tested with jjc's latest xt.

<?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:template match="image">
    <a href="{.}">

See the XSL-WD section for why.

Ingo Macherius//Dolivostrasse 15//D-64293 Darmstadt//+49-6151-869-882
GMD-IPSI German National Research Center for Information Technology
mailto:macherius@xxxxxx http://www.darmstadt.gmd.de/~inim/
Information!=Knowledge!=Wisdom!=Truth!=Beauty!=Love!=Music==BEST (Zappa)

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread