Re: [xsl] Unable to get text() of node

Subject: Re: [xsl] Unable to get text() of node
From: Kasimier Buchcik <K.Buchcik@xxxxxxxxxxxx>
Date: Mon, 23 Jan 2006 12:46:14 +0100
Hi,

On Mon, 2006-01-23 at 12:38 +0100, Kasimier Buchcik wrote:
> Hi,
> 
> I tried to summerize this issue for the benefit of my own
> understanding, and would be glad to be corrected if something's
> wrong. Mainly I did this because I wanted to test if
> Libxslt (1.1.15) works the same way as Saxon (6.5.5) here.
> 

[...]

> A <xsl:copy-of select="."/> will select the concatenated text of all

This should be <xsl:value-of select="."/>

> descendant text-nodes in document-order; note the additional "don't" in
> the result:
> 
> <output>"Johnny
>     don't
>     B.
>     Good
> "</output>

[...]

Regards,

Kasimier

Current Thread