xsl-list
[Top] [All Lists]

RE: [xsl] Tracking position in recursive functions?

2009-04-02 04:04:27
I just want to ask how to track "position" in recursive 
functions like "str:_tokenize-delimiters"?

Just give the function another argument, $position, and increment it by one
on each call.

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>