This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Normalizing spaces?
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: Normalizing spaces?
- From: Dave Pawson <daveP at dpawson dot freeserve dot co dot uk>
- Date: Mon, 07 May 2001 06:50:19 +0100
At 05:29 AM 5/7/01, M. Wroth wrote:
>Can someone give me a quick pointer to how the effect of taking an
>arbitrary number of whitespace characters in the document and normalizing
>them into a single space character is achieved? The specific example is
>the treatment of whitespace in a <para> (and other) element in the DocBook
>DTD processed with the Modular DSSSL Style Sheets.
The XML + XSLT effect (if its the same :-)
is to strip all but one from a sequence of contiguous
white space. Keep it all down to one space
character.
Wh sp = [CR TAB NL SP].
Think its as simple as that. I guess the XML guys stole the idea
from SGML, so its probably the same?
HTH DaveP
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org