OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Normalizing spaces?


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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC