Subject: [xsl] Re: how to get string value of element node without children concatenated From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx> Date: Fri, 14 Mar 2003 22:22:16 +0100 |
> That's the correct output (according to Michael Kay's 2nd edition the string value of an element is the string value of the > element and all it's children concatenated). But I need to get the string value WITHOUT the concatenation. Use: <xsl:apply-templates select="text()"/> I am assuming that you have no template matching text nodes. In this case the default rule will be instantiated and all text-node children of the current node will be output. ===== Cheers, Dimitre Novatchev. http://fxsl.sourceforge.net/ -- the home of FXSL XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] how to get string value o, Robert P. J. Day | Thread | RE: [xsl] how to get string value o, Lars Huttar |
Re: [xsl] how to get string value o, Robert P. J. Day | Date | RE: [xsl] how to get string value o, Lars Huttar |
Month |