[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: how to do hyperlink with xml + xsl?

Subject: RE: how to do hyperlink with xml + xsl?
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Wed, 9 Feb 2000 13:16:36 -0000
xml xsl hyperlink
You have to do it the long way:

<xsl:template match="A">
<a>
  <xsl:attribute name="href">
    <xsl:value-of select="@href"/>
  </xsl:attribute>
  <xsl:apply-templates />
</a>
</xsl:template>

<xsl:template match="text()">
  <xsl:value-of select="."/>
</xsl:template>


This should give the required output...

> -----Original Message-----
> From: Nilay.Shah@xxxxxxxxxxxxxxxxxxx
> [mailto:Nilay.Shah@xxxxxxxxxxxxxxxxxxx]
> Sent: 09 February 2000 13:01
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Re: how to do hyperlink with xml + xsl?
> 
> 
> 
> 
> The suggested solution doesnt work in IE5. Can anyone know 
> how to do this
> in IE5?????????
> 
> 
> 
> 
> 
> David Rocher <djr@xxxxxxxxxxxxxx> on 02/09/2000 04:35:54 PM
> 
> Please respond to xsl-list@xxxxxxxxxxxxxxxx
> 
> To:   xsl-list@xxxxxxxxxxxxxxxx
> cc:    (bcc: Nilay Shah/LTITL)
> 
> Subject:  Re: how to do hyperlink with xml + xsl?
> 
> 
> 
> 
> On Tue, Feb 08, 2000 at 06:46:03PM -0800, Jia Ming Li wrote:
> > <TEST>This is <A HREF="www.yahoo.com">yahoo</A> test.</TEST>
> 
> <xsl:template match="test/a[@href]">
>  <xsl:copy/>
> </xsl:template>
> 
> David.
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> 
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.