This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Normalizing spaces?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]