Re: [xep-support] preventing line breaks before punctuation

From: David Tolpin <dvd@davidashen.net>
Date: Mon Oct 30 2006 - 06:57:23 PST

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

-------------------
(*) 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 12:24:08 2006

This archive was generated by hypermail 2.1.8 : Mon Oct 30 2006 - 12:24:09 PST