xsl-list
[Top] [All Lists]

Re: Get text of one element

2005-08-26 20:58:08
Please try <xsl:value-of select="text()" />
 
Regards,
Mukul


On 8/27/05, johnli121 <johnli121(_at_)163(_dot_)com> 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

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>