xsl-list
[Top] [All Lists]

Re: [xsl] Result tree fragment to string?

2008-08-27 11:09:05
2008/8/27 Garriss Jr., James P. <jgarriss(_at_)mitre(_dot_)org>:
I have a variable that contains a result tree fragment of HTML code.  I
need to convert the result tree fragment to a string.  The string must
not only include the text node values but the HTML element names and
attributes as well.

Does:

<xsl:copy-of select="$var"/>

...do what you need?  If not post back with an example because it's
not that clear what you are after...


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