OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: 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: jirka@kosek.cz
  http://www.kosek.cz


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC