Re: [xsl] Re: how to get string value of element node without children concatenated

Subject: Re: [xsl] Re: how to get string value of element node without children concatenated
From: Niko Matsakis <niko@xxxxxxxxxxxxx>
Date: Fri, 14 Mar 2003 17:00:49 -0500
While I agree that restructing the xml is best, the easiest option, as given by Michael Kay the last time this question was asked, is

<xsl:copy-of select="text()"/>

This not depend on what other templates you have in your stylesheet, it will always work, unlike <xsl:apply-templates select="text()"/>


Niko Matsakis


--
DataPower technology
http://www.datapower.com




XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread