This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re: Re: Designs for XSLT functions (Was: Re: RE: syntaxsugar for call-template)


Clark C. Evans wrote:
> 
> On Tue, 20 Feb 2001, Dimitre Novatchev wrote:
> > > 
> > > exsl:call('my:func', 'Name1?Value1", 'Name2?Value2')
> > > 
> > > Where "?" is to be replaced by some delimiter, perhaps space.
> > > 
> > 
> > The following looks very straightforward:
> > 
> >  exsl:call('my:func', 'Name1=Value1", 'Name2=Value2')
> > 
> 
> The "=" operator is already defined in XPath.
> How about:
> 
>   exsl:call('my:func','my:name := value', ... )

I would still prefer the shorter "=". Yes, it is an XPath operator,
but it is just a regular character in a string for XPath in this case.
There's no ambiguity.

Then the pure positional and mixed invocations will also have a very
straightforward form:

exsl:call('my:func', '=Value1", '=Value2')

and, respectively:

exsl:call('my:func', '=Value1", '=Value2' 'Name3=Value3')


Dimitre Novatchev.





__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]