[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: specifying a target for a hyperlink
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Sat, 17 Mar 2001 09:58:27 -0800
> <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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member