Chris,
Whenever this question comes up I refer to this piece of work:
http://lenzconsulting.com/xml-to-string/
Evan's cover page says it writes the markup in escaped form, but if you
use method='text' it will come out unescaped. (In fact output escaping
is always disabled when serializing with the 'text' method so the same
will apply to Hermann's code.)
Cheers,
Wendell
On 9/11/2012 10:59 AM, Chris Wolf wrote:
Hermann,
Danke für die Hilfe einen anderen "IBMer"...
That worked really well, except I need to email the result,
prgrammatically, and the email module I'm stuck with cannot deal with
mime/multipart, so it has to be plain text rather then HTML. I just
needed to hack your code to add disable-out-escaping="yes"
in a few places. Too bad xs:value-of doesn't take AVTs, so I could
have easily parameterized the behavior.
Vielen Dank,
--
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
--~------------------------------------------------------------------
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>
--~--