Hi.
> -----Mensagem original-----
> De: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] Em nome de
> David Carlisle
> Enviada: quarta-feira, 19 de Março de 2003 15:59
> Para: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Assunto: Re: Adding structure to text nodes
>
>
>
> > So the content must be altered, but in a structured way.
>
> I don't think you have given any indication of what changes
> that you want to make. One possible algorithm toi get from
>
> blabla
> blabla
> blabla
>
> to
>
>
> blabla
> blabla
> blabla
>
>
> is
> <xsl:value-of select="translate(long,' ','')"/>
> which removes all spaces but leaves line breaks.
Yes, but that also will change 'bla bla bla' into 'blablabla'
<xsl:value-of select="normalize-space(long)"/> might work as intended
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|