xsl-list
[Top] [All Lists]

Re: Unable to get text() of node

2006-01-23 04:46:14
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--