xsl-list
[Top] [All Lists]

Templates with same name but different argument param names

2005-09-22 06:02:35
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>