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

Re: xsl:function

Subject: Re: xsl:function
From: "Kurt Cagle" <kurt@xxxxxxxxxxxxx>
Date: Fri, 9 May 2003 22:11:55 -0700
xsl function overloading
Michael,

Just wanted to drop a note saying that the Saxon 7.5 implementation looks
good. One thing that did occur to me -- with the ability to specify data
types now an intrinsic part of the language, I wonder if the two functions

 <xsl:function name="ol:func">
  <xsl:param name="arg1" as="xs:integer"/>
  <h1>This is an integer</h1>
 </xsl:function>

 <xsl:function name="ol:func">
  <xsl:param name="arg1" as="xs:string"/>
  <h1>This is a string</h1>
 </xsl:function>

should in fact be considered the same thing (they are in the implementation
and apparently the current spec) or whether in fact they have distinct
signatures. Put another way, does the introductio of the as attribute make
overloading of functional names a possibility?

-- Kurt Cagle


 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.