Re: DOCBOOK-APPS: Solution to funky TOCs in HTML Help...

From
Jirka Kosek <>
Date
2001-08-13T20:54:18+00:00
ID
Thread
Re: DOCBOOK-APPS: Solution to funky TOCs in HTML Help...
"Dave Brooks, BCS Systems" wrote:
> 
> At 21:36 13/08/01 +0200, Jirka Kosek wrote:
> 
> >They are usefull, but in XSLT there is no easy way to strip leading and
> >trailing new-line from
> >
> ><xxx>
> >foo
> >bar
> ></xxx>
> 
> <xsl:template match="xxx">
>    <xsl:value-of select="normalize-space(text())"/>
> </xsl:template>
> 
> should do this,

It looks like I simplified example too much.;) In fact I have in mind
the case where xxx elment has also some subelements (very common case).
In that case, there is no single instruction or function to strip
leading and trailing line endings. 

-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: 
  http://www.kosek.cz