Thanks Pankaj, its working fine now.
Thanks
Srinivasan
-----Original Message-----
From: pankaj(_dot_)c(_at_)thomsondigital(_dot_)com
[mailto:pankaj(_dot_)c(_at_)thomsondigital(_dot_)com]
Sent: Wednesday, November 10, 2010 4:27 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Cc: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] selecting a element without it's child element
Try
<xsl:variable name="filename"><xsl:value-of
select="book/title/text()[1]"/></xsl:variable>
--Pankaj
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--