Subject: Re: [xsl] Unable to get text() of node From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Mon, 23 Jan 2006 12:46:30 +0100 |
A <xsl:copy-of select="."/> will select the concatenated text of all descendant text-nodes in document-order; note the additional "don't" in the result:
<output>"Johnny don't B. Good "</output>
<output>"<foo>Johnny <bar>don't</bar> B. <bar/>Good </foo>"</output>
MSXML does strip such whitespace text-nodes by _default_. So one might want to use <xsl:strip-space elements="*"/> for compatibility with the MSXML-XSLT engine.
Kind regards, Geert
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Unable to get text() of n, Kasimier Buchcik | Thread | Re: [xsl] Unable to get text() of n, Kasimier Buchcik |
Re: [xsl] Unable to get text() of n, Kasimier Buchcik | Date | Re: [xsl] Unable to get text() of n, Kasimier Buchcik |
Month |