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

Templates with same name but different argument param

Subject: Templates with same name but different argument param names
From: "Kevin L. Cobb" <kevin.cobb@xxxxxxxxxxxx>
Date: Thu, 22 Sep 2005 09:02:35 -0400
 Templates with same name but different argument param
Wonderng what the outcome of this scenario would be in XSLT and hoping
that the old saying that there are NO stupid questions is in play on
this list ;)



<xsl:template name="lookupValue">
   <xsl:param name="fieldID"/>

   <!-- Lookup the code using the filedID -->
</xsl:template>

<xsl:template name="lookupValue">
   <xsl:param name="facilityID"/>

   <!-- Lookup the code using the facilityID
	  different logic here  -->
</xsl:template>


Will specifying the parameter names differently (fieldID versus
facilityID) in two templates that have the same name essentailly make
these two templates distinct? Getting ready to test the theory but
thought I would bust off a quick e-mail to the list first.

-Kevin

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.