|
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Simple question - links, pietro abate | Thread | Re: Simple question - links, Clay_Rowland |
| Re: Practical Suggestion for XSLT P, Clark C. Evans | Date | Re: Schema definition, Eric van der Vlist |
| Month |