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: > > <xsl:strip-space elements="quote footnote"/> > > to the stylesheet. Similarly, if you want to strip space as a default with > specified exceptions you could say something like: > > <xsl:strip-space elements="*"/> > <xsl:preserve-space elements="para"/> > > 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 it > would be most appropriate to add this. Anyone have a suggestion? > > -----Original Message----- > From: Josef Karthauser [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 28, 2002 8:20 PM > To: [EMAIL PROTECTED] > Subject: DOCBOOK-APPS: How to remove surplus spaces. > > > Is there an easy way to remove surplus spaces in things like: > > <quote> something </quote>? > > I'd like to have the stylesheet automatically remove the leading and > trailing white space. > > Also in cases like: > > some text <footnote> .... </footnote> > > I'd like to have all the white space before the opening <footnote> > gobbled up. > > I'm using openjade and the DSSSL stylesheets. > > Joe > > ************************************************************************** > The information transmitted herewith is sensitive information intended only > for use by the individual or entity to which it is addressed. If the reader > of this message is not the intended recipient, you are hereby notified that > any review, retransmission, dissemination, distribution, copying or other > use of, or taking of any action in reliance upon this information is > strictly prohibited. If you have received this communication in error, > please contact the sender and delete the material from your computer.