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]
Other format: [Raw text]

RE: passing intermediate result while recursively building nodeset


>     On Fri, 3 May 2002 18:31:15
>     Michael Kay wrote:
>     >So the question is, what are you actually trying to achieve?
>
> Given a string, I need to create an element to represent each
> word of that string.  The created element is relatively
> complex, and when creating the element for word 'i' I may
> need to go back and examine the elements for words 1 thru (i
> - 1) -- with order being important.  But at the end of it
> all, I'll need those newly created elements and in the order
> they were created.  Is that of any help?  And please, if my
> explanation leaves something to be desired, feel free to ask
> for clarification.
>
I agree with Jeni's reply (as always), a 2-phase approach seems right -
provided you don't actually mean that you need information about word (i-1)
in order to decide where the word-break for word (i) occurs.

Michael Kay


 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]