Re: DOCBOOK-APPS: How to remove surplus spaces.

2002-03-29 Thread Jirka Kosek
Josef Karthauser wrote: > > Is there an easy way to remove surplus spaces in things like: > > something ? > > I'd like to have the stylesheet automatically remove the leading and > trailing white space. Stylesheet can do this, but it isn't as easy as you can expect (you can play with norm

Re: DOCBOOK-APPS: How to remove surplus spaces.

2002-03-29 Thread Jirka Kosek
"Glass, Eric" wrote: > > Add something like: > > This won't help, this instruction controls only removal of whitespace-only text nodes. Jirka -- - Jirka Kosek e-mail: [EMAIL P

RE: DOCBOOK-APPS: How to remove surplus spaces.

2002-03-29 Thread Dave Brooks, BCS Systems
This is for XSL - Joe is using DSSSL style sheets At 04:56 29/03/2002 -0500, Glass, Eric wrote: >Add something like: > > > >to the stylesheet. Similarly, if you want to strip space as a default with >specified exceptions you could say something like: > > > > >These are top-level elements (ch

Re: DOCBOOK-APPS: How to remove surplus spaces.

2002-03-29 Thread murray
Uhm, he specified that this was for DSSSL. Joe, I think you want the strip function in dblib.dsl. - Murray On Fri, Mar 29, 2002 at 04:56:48AM -0500, Glass, Eric wrote: > Add something like: > > > > to the stylesheet. Similarly, if you want to strip space as a default with > specified e

RE: DOCBOOK-APPS: How to remove surplus spaces.

2002-03-29 Thread Glass, Eric
Add something like: to the stylesheet. Similarly, if you want to strip space as a default with specified exceptions you could say something like: These are top-level elements (children of xsl:stylesheet) -- I'm not yet that familiar with the layout of the stylesheets, so I'm not sure where