[xep-support] preventing line breaks before punctuation

David Tolpin dvd at davidashen.net
Mon Oct 30 06:57:23 PST 2006


On Mon, 30 Oct 2006 18:39:53 +0400, Geoff Levner <geoff at 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 at 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



More information about the Xep-support mailing list