This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: specifying a target for a hyperlink
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] specifying a target for a hyperlink
- From: Robert Koberg <rob at koberg dot com>
- Date: Sat, 17 Mar 2001 09:58:27 -0800
- References: <F120s4KWiGtXsL1c00g00005673@hotmail.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> <A>
> <xsl:attribute name = "HREF">
> <xsl:value-of select="url"/>
> </xsl:attribute>
> <xsl:value-of select="url"/>
>
> </A>
You might want to use apply-templates more to drill down to the particular
nodes like 'url'. And I think you are you using the xmlns incorrectly but if
that is an OK thing to dom (you should probably change the attribute name),
then it would be something like this:
<a href="{ALL/CATEGORY/url}" target="{ALL/CATEGORY/url/@xmlns}">a link</a>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list