[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Need to render input document as string form of XM

Subject: Re: Need to render input document as string form of XML in output
From: Chris Wolf <cwolf.algo@xxxxxxxxx>
Date: Tue, 11 Sep 2012 12:24:26 -0400
Re:  Need to render input document as string form of XM
That looks pretty good, unfortunately, the company I work for is very
picky about licenses and they only accept certain Open Source
licenses.  At least Hermann's code has no such copyright on it
(Hermann, please correct me if I'm wrong), so I can just assert
"I found it on the Internet", but maybe the lawyers won't even go for
that, but in any case, they would probably have an issue with the
copyright-without-license even though re-distribution is granted.   I
will need to check with them in either case...

Also thanks for the tip regarding output method="text" vs.
method="html" - when I checked the online XSTL reference I looked to
see
if xsl:output took disable-output-escaping, and when I didn't see
that, I went ahead with the hacks, which I now reverted.

   -Chris

On Tue, Sep 11, 2012 at 11:47 AM, Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
wrote:
> 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@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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.