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: Backtracking the current position.


Auguste Oumar <oumar_a@yahoo.de> 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


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