Hello Habs,

The omit-xml-declaration is supported in the XSLT stylesheet of XSLTForms, effectively memorized in the corresponding Javascript object... but ignored when performing the serialization...

It should not be difficult to improve this situation.

Are you in a hurry about that??

Thanks!

--Alain

Le 29/03/2016 12:42, [email protected] a écrit :
Dear Support, good morning

Latest version of XSLTForms, Firefox

re: omit-xml-declaration for submission element.

This attribute does not appear to be being honoured on my setup in respect of including the declaration. Can someone confirm if it is or is not behaving correctly on their setup please ?

I have an instance element with a src attribute, that loads the xml.
The instance document being loaded has the xml declaration as the first line. If I browse to the xml instance directly, it is loaded in the browser showing the declaration.

On submitting the instance to a Perl CGI script, which does nothing more than read the posted XML and store it to file and echo it back, the stored xml file and the returned xml has the declaration stripped.

Indeed, when inspecting headers (Live HTTP Headers addon), the xml declaration is not present in the xml in the http body on submission. It is being removed by default; is this correct ?

I have tried deliberately setting the omit-xml-declaration to false, to no avail.

Thank you in advance, for your time and comments.
Regards
Habs


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140


_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to