xsl-list
[Top] [All Lists]

Re: [xsl] Extracting value from node with formatter elements

2008-04-14 07:18:13
David Carlisle schrieb:

Thanks David, Andrew & Vyacheslav for the quick reply...it helped :-)


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




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