value-of returns the string value of an element, you want to return an
element node, so use xsl:copy-of instead.
or better just do
<xsl:variable name="elementText" select="." />
Then the variable holds the original element (rather tahn a copy of it)
David
--~------------------------------------------------------------------
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>
--~--