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

RE: [xsl] Editing URLs


Subject: RE: [xsl] Editing URLs
From: "Conal Tuohy" <conalt@xxxxxxxxxxxxxxx>
Date: Tue, 29 Apr 2003 11:28:52 +1200

Wendell Piez wrote:

<snip/>

> or, more simply (but not rolled into the identity transform),
>
> <xsl:template match="a">
>    <a href="http://{@href}">
>      <xsl:apply-templates select="*"/>
>    </a>
> </xsl:template>

... simpler, but if the <a> elements had any other attributes (e.g. title,
target) they would be lost.


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



Current Thread