On 30 Oct 2006, at 15:57, David Tolpin wrote:
> On Mon, 30 Oct 2006 18:39:53 +0400, Geoff Levner <geoff@n-
> generate.com> wrote:
>
>> I agree with you, in theory. But in fact, XSLT is very poorly
>> equipped for dealing with this problem, which is essentially to
>> replace all occurrences of a regular expression in a string with
>> another regular expression. And to provide a full solution for the
>> problem -- which involves detecting cases where the space(s) and the
>> punctuation mark are separated by XML markup -- would call for some
>> truly gnarly XSLT code.
>
> Geoff,
>
> a simple XSLT extension to do just that will be fast to implement
> and to run.
>
> David
Adding functions to manipulate strings seems straightforward enough.
But I don't see how you would handle the problem of spaces which
might be separated from the punctuation by XML markup. If anyone can
give me a hint, I will be glad to give it a try...
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Mon Oct 30 14:18:51 2006
This archive was generated by hypermail 2.1.8 : Mon Oct 30 2006 - 14:18:52 PST