[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Need to render input document as string form of XML in output

Subject: Re: [xsl] Need to render input document as string form of XML in output
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 11 Sep 2012 11:47:33 -0400


Whenever this question comes up I refer to this piece of work:


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.)


On 9/11/2012 10:59 AM, Chris Wolf wrote:

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@xxxxxxxxxxxxxxxx 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 ======================================================================

Current Thread