This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Normalizing spaces?
- To: docbook <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: Normalizing spaces?
- From: Eric Richardson <eric at milagrosoft dot com>
- Date: Mon, 07 May 2001 15:19:49 -0700
- Organization: MilagroSoft Inc.
- References: <5.0.2.1.2.20010507064647.00aef140@127.0.0.1>
Dave Pawson wrote:
>
> 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?
SGML was modified so XML could be a formal subset of SGML.
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org