Re: [xsl] Get text of one element

Subject: Re: [xsl] Get text of one element
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Sat, 27 Aug 2005 09:28:08 +0530
Please try <xsl:value-of select="text()" />

Regards,
Mukul


On 8/27/05, johnli121 <johnli121@xxxxxxx> wrote:
> Hi,
>
> When I use <xsl:value-of select="."/> to get the text of one element. It
> return all text of current node and its descendant nodes. Is there any way
> to retrieve only the text of current node?
>
> Thanks,
> John

Current Thread