xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Aronov" <maro...@entricom.com>
Subject Re: functions operating on strings
Date Tue, 30 Jan 2001 05:33:14 GMT
Hi Karen,
Thanks for your advice. I've found the spec, but at
http://www.w3.org/TR/xpatch.
As to recursion, it works, and I can find any occurrence of any character in
a string for both straight and reverse orders. But there is still a problem:
I cannot pass the result (in this case - position) from the called template
(call-template) to the calling template because, as I understand, there are
no true variables in XSLT, only constants. So I have to format each line of
text, which comes as a result of parceling, immediately at the last
invocation of the called template. It becomes a headache if the number of
lines is big enough, and probably it is impossible, if the number of lines
is not known in advance.
May be I don't understand something? I would appreciate your help.
Thank you again,
Michael.


----- Original Message -----
From: "Karen Lease" <klease@club-internet.fr>
To: <fop-dev@xml.apache.org>
Sent: Monday, January 29, 2001 2:12 PM
Subject: Re: functions operating on strings


> Hi Michael,
>
> There are some string manipulation functions in the XSLT (transformation
> part of XSL). The specification is at the W3C:
> http://www.w3.org/TR/1999/REC-xslt-19991116
> You can't do loops in an iterative way. But you can use the
> call-template functionality in XSLT to do recursion.
>
> Hope this helps a little,
> Karen Lease
>
>
> Michael Aronov wrote:
> >
> > Hi guys,
> > I am interested in my own parceling text using spaces between words to
meet
> > some requirements, and I didn't find enough tools to accomplish this;
i.e.,
> > no function to find the last occurrence of some substring in a string
(and
> > no loops which could be used to create virtually any function operating
on
> > strings).  Do you have any suggestions?
> > By the way, the only source where I have found some information about
> > functions operating on strings, numbers, etc., was the great book
written by
> > Elliotte Rusty Harold. Could you tell me where the original source
> > (specification) can be found?
> > Thank you,
> > Michael.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> > For additional commands, email: fop-dev-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Mime
View raw message