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?


That is the effect -- what I don't see is how it's accomplished.

At 06:50 AM 5/7/01 +0100, 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?

Mark B. Wroth
<mark@astrid.upland.ca.us>


------------------------------------------------------------------
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]