[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: problem with Passing Parameters to Templates
Also I have tried to use the following code to find and give the value of
the element that is a descendant of the current node that is called 'codec'.
It does not work either.
<xsl:template name="opt_template"> <xsl:param name="node"></xsl:param> <xsl:variable name="node-element" select=".//*[local-name() = $node]" /> <xsl:if test="$node-element"> <xsl:value-of select="$node-element" /> </xsl:if> </xsl:template> Thanks, Helen From: "helen li" <helen_p_li@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: problem with Passing Parameters to Templates Date: Mon, 22 Jan 2001 09:43:41 -0500
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
|