"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: [EMAIL PROTECTED]
  http://www.kosek.cz

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]

Reply via email to