On 14/04/2008, Amit Hanchinamani <a(_dot_)hanchinamani(_at_)eurodata(_dot_)de>
wrote:
I want to get the entire node value "<b><u>blah blah</u></b>". But using
<xsl:value-of select="." /> or <xsl:value-of select="text()"/> or
<xsl:value-of select="current()" /> returns only "blah blah". I cannot
figure out how to get the entire value along with the formatting tags.
The short answer is use <xsl:copy-of select="."/>
The longer answer is to apply-templates to the node with the identity
template to do the copying, possibly all in a mode, to allow you
override the output where needed.
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
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>
--~--