Indeed not: the DSSSL spec describes input-whitespace-treatment
as a characteristic of characters, and doesn't discuss
declare-initial-value at all.
I deduce from its behavior that declare-initial-value sets a
characteristic that will be inherited by all element rules unless
overridden by a more s
At 05:09 AM 5/10/01, M. Wroth wrote:
>I asked this question on the DSSSList, and Daniel Speck <[EMAIL PROTECTED]> suggested
>that it may be as simple as setting
>
>(declare-initial-value input-whitespace-treatment 'collapse)
>
>While at this point in my education, this is a pure magic incantatio
I asked this question on the DSSSList, and Daniel Speck
<[EMAIL PROTECTED]> suggested that it may be as simple as setting
(declare-initial-value input-whitespace-treatment
'collapse)
While at this point in my education, this is a pure magic
incantation, it appears to work. I also note that this
/ Norman Walsh <[EMAIL PROTECTED]> was heard to say:
| Even if I use the RTF backend, I still get the spaces:
|
| {\rtf1\ansi\deff0
Oops. If I use the print stylesheet, the spaces do go away. This must
be a feature of the RTF backend.
Be seeing you,
/ "M. Wroth" <[EMAIL PROTECTED]> was heard to say:
[...]
| Norman then asks
|
| >So I'm still confused about what special processing you see being
| >applied to spaces.
|
| When I do the equivalent with DocBook and the Modular DSSSL style
| sheets, spaces are not preserved, and I'm trying to fig
In reply to my example of a non-DocBook example that behaves differently
than DocBook:
At 09:12 AM 5/9/01 -0400, Norman Walsh wrote:
/ "M. Wroth"
<[EMAIL PROTECTED]> was heard to say:
| Here is an example of content:
|
| It
is not permissible under the Society's rules to
| fim
/ "M. Wroth" <[EMAIL PROTECTED]> was heard to say:
| Here is an example of content:
|
| It is not permissible under the Society's rules to
| fimbriate a chief. Laurel precedent (Laurel Alison, Dec 86
| and Aug 88) however this is blazoned, in appearance it
|
Norman asked, in reply to my question:
At 12:53 PM 5/8/01 -0400, you wrote:
/ "M. Wroth"
<[EMAIL PROTECTED]> was heard to say:
| Hmmm. The behavior I asked about was the
"normalization" (possibly
| not the right word) of spaces in element content
(specifically,
| although not limited to, elemen
/ "M. Wroth" <[EMAIL PROTECTED]> was heard to say:
| Hmmm. The behavior I asked about was the "normalization" (possibly
| not the right word) of spaces in element content (specifically,
| although not limited to, elements), in the SGML version of
| DocBook processed with the Modular DSSSL Style
Hmmm. The behavior I asked about was the "normalization"
(possibly not the right word) of spaces in element content
(specifically, although not limited to, elements), in the
SGML version of DocBook processed with the Modular DSSSL Style
Sheets.
I observe that multiple whitespace characters (new
Eric Richardson wrote:
> Maybe somebody can comment on whitespace since I have mouthed off
> without thinking first and passed off such lousy advice.
In XML whitespaces are normalized only in attribute values. Not in
element content. In XSLT you can normalize spaces manualy using
normalize-space(
"M. Wroth" wrote:
>
> At some level, it has to be controllable; other applications do not exhibit
> this behavior. So it may be a function of the DTD or SGML declaration. H
>
> At 03:01 PM 5/7/01 -0700, Eric Richardson wrote:
> >"M. Wroth" wrote:
> > >
> > > That is the effect -- what I do
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 treatmen
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
> >
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 (and ot
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 (and other) element in the DocBook
DTD process
16 matches
Mail list logo