Re: [xsl] Backtracking the current position.

Subject: Re: [xsl] Backtracking the current position.
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Thu, 27 Sep 2001 13:21:00 +0200
Auguste Oumar <oumar_a@xxxxxxxx> wrote:
> i have a string to process and i would like to keep
> track of the current position within the string as the
> processing progress.
[snip]
It's not easy to deduce what problem you mean. If you need to
keep track of a position, you'll have to do the processing
within the recursive template ("positionCounter" in your example).

If you can describe the string processing you have to do in more
detail, some more help may be available. In any case, XSLT isn't
the best suited tool for many of the more unusual string processing
tasks, if this is the case investigating in writing an extension
function or an embedded script in another language may be useful.

Regards
J.Pietschmann

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


Current Thread