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

Re: XSLT in IE w/Sarissa - omit-xml-declaration="yes"

Subject: Re: XSLT in IE w/Sarissa - omit-xml-declaration="yes" seems broken
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 20 Jul 2006 10:48:39 +0100
sarissa ie
On 7/19/06, Lindsey Simon <lsimon@xxxxxxxxxxxx> wrote:

I'm using Sarissa to perform client-side XSLT.

Putting omit-xml-declaration="yes" into the output of the xsl makes no
difference in the result in IE. I've tested that the property is
actually set to yes when the processor gets constructed, and it is. I
basically do not want the xml-declaration, and cannot figure out how to
not get it back, without just doing an IE specific node removal after
the transform.

I'm hoping someone experienced with using the MSXML engines might just
know something about this...

Test page:

It may well be that the result of the transform is being passed to a serialiser and so you would need to set the omit-xml-declaration on that - the instruction in the XSLT is ignored unless the transform processor does the serialisation (by transforming to a stream rather than a document).

Also, I seem to remember something about having to use
transformNodeToObject otherwise it will always default to UTF-16....
(although omit-xml-declaration should still work in that case)...

Not my area though, I'm afraid.

Current Thread


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.
First Name
Last Name
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.