xsl-list
[Top] [All Lists]

Variable number of arguments

2006-01-26 05:57:13
  Hi

  I'd like to write a function accepting a variable number of
arguments, like fn:concat().  What's the idiomatic way to do that? 
Using a unique argument, a sequence of all argument?  Like this pseudo
XSLT definition of fn:concat():

    <xsl:function name="fn:concat" as="xs:string">
      <xsl:param name="args" as="xdt:anyAtomicType+"/>
      ...
    </xsl:function>

?  Or is there other ways?

  Regards,

--drkm




















        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com

--~------------------------------------------------------------------
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>