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

Re: Simple question - links


Subject: Re: Simple question - links
From: Chris Holmes <cholmes@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 07 Oct 1999 08:32:19 -0400

I tried the suggested approach and it didn't work: here's what I believe
is a more standard way:

<xsl:template match="mylink">
<A><xsl:attribute name="HREF"><xsl:value-of
select="{.}"/></xsl:attribute>Click Here
</A>
</xsl:template>

- Chris

pietro abate wrote:

> Anthony.Behan@xxxxxxxxxxxxxxx wrote:
> >
> > What XSL do I need to get from
> > <mylink>
> > www.yahoo.com
> > </mylink>
> >
> > to
> >
> > <a href="www.yahoo.com">Click Here</a>
> >
>
> I think that this should work.
>
> <xsl:template match="mylink">
> <A HREF=\"{.}\"> click here </a>
> </xsl:template>
>
> about the quote I tkink that is a problem of your xsl processor.
> This should your with saxon and xt.
>
> pietro
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

--
Chris Holmes
cholmes@xxxxxxxxxxxxxxxxxxxxxxxxxx
Office: 703) 827-0638 x246
Cell Phone: 703) 928-5012
Pager: 703) 219-9503
------------------------------------
Blueprint Technologies
Foundations for Successful Software
www.blueprint-technologies.com



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



Current Thread
Keywords
xsl