[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Simple question - links
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|