xsl-list
[Top] [All Lists]

RE: [xsl] more than one return value for output

2006-11-21 00:37:44

but now I have a new question. is there any way to return 
more than one value from a function (i.e. template) 

In 1.0, return a result tree fragment containing the various values.

In 2.0 you can return a sequence.

But I'd say it's usually not a good idea. Use two separate functions.

beside using global variables?

Global variables, being immutable, don't help.

Michael Kay
http://www.saxonica.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>