This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: Re: Designs for XSLT functions (Was: Re: RE: syntaxsugar for call-template)
- To: cce at clarkevans dot com, uche dot ogbuji at fourthought dot com
- Subject: [xsl] Re: Re: Re: Designs for XSLT functions (Was: Re: RE: syntaxsugar for call-template)
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- Date: Tue, 20 Feb 2001 21:15:44 -0800 (PST)
- Cc: xsl-list at lists dot mulberrytech dot com
- Reply-To: xsl-list at lists dot mulberrytech dot com
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