This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] [Website] Summary tag
- From: Bob Stayton <bobs at sco dot com>
- To: Oliver Fischer <plexus at snafu dot de>
- Cc: docbook at lists dot oasis-open dot org
- Date: Tue, 15 Jul 2003 14:33:08 -0700
- Subject: Re: [docbook] [Website] Summary tag
- References: <3F147A88.2080201@snafu.de>
On Wed, Jul 16, 2003 at 12:04:56AM +0200, Oliver Fischer wrote:
> Hi,
>
> I create my webpages with help of WebsiteDTD and I use on every page the
> summary tag. The stylesheets generate out of this an description for
> links in the menu. Nice, but If the text in the summary element contains
> newlines, the link description will also contain newlines and not needed
> spaces. At times some browsers misunderstand the generated description
> and show another char, which is similar to a box. How can I remove
> newlines from the summary, so that they don't appear in the link
> description?
You want to use normalize-space(summary) for the attribute value.
That XSL function replaces any combination of whitespace
with a single space. This should probably be how the
stylesheets do it anyway, no?
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-help@lists.oasis-open.org