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

RE: Compute attribute value from sub-element

Subject: RE: Compute attribute value from sub-element
From: Richard Heim <rheim@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Aug 1999 13:41:50 -0400
richard heim
I'm new at this so please excuse me if I'm off track, but, I'm confused
about "apply-templates."
Would this do the same:

<xsl:template match="entry">
	<xsl:for-each select="entry">
	<a>
	<xsl:attribute name="href">
http://www.frob.org/search?type=simple&amp;key=<xsl:value-of select="key"/>
|     
	 </xsl:attribute><xsl:value-of select="description"/>
	</a>
	</xsl:for-each>
</xsl:template>


 ,-----
> | <xsl:template match="entry">
> |   <a>
> |     <xsl:attribute name="href">
> |       
> http://www.frob.org/search?> type=simple&amp;key=<xsl:value-of 
> select="key"/>
> |     
> </xsl:attribute>
> |     <xsl:apply-templates match="description"/>
> |   </a>
> | </xsl:template>
> `-----
> 

> -----Original Message-----
> From: Kai.Grossjohann@xxxxxxxxxxxxxxxxxx
> [mailto:Kai.Grossjohann@xxxxxxxxxxxxxxxxxx]
> Sent: Monday, August 16, 1999 12:12 PM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Re: Compute attribute value from sub-element
> 



...


 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.