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

RE: [xsl] Using a template's (HTML) output as with-param?


Subject: RE: [xsl] Using a template's (HTML) output as with-param?
From: drkm <darkman_spam@xxxxxxxx>
Date: Fri, 9 Dec 2005 12:24:32 +0100 (CET)

"Talley, Brooks" wrote:

  Hi

> 	<xsl:template name="TableHeader">
> 		<xsl:param name="caption1" />
> 		<xsl:param name="caption2" />
> 		<tr><td><h1><xsl:value-of select="$caption1"
> /></h1></td></tr>
> 		<tr><td><xsl:value-of select="$caption2" /></td></tr>
> 	</xsl:template>

  'xsl:value-of' use the textual value of a node.  Use 'xsl:copy-of' if
you want to copy the node.

--drkm



















	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Tilichargez cette version sur http://fr.messenger.yahoo.com


Current Thread