xsl-list
[Top] [All Lists]

Re: Discarding encoding="UTF-8" in the '<xml>'element

2005-10-28 02:19:29
It is not an element, but a processing-instruction. Processing-instructions are not relevant to validation. Anyhow, it should not make a difference whether it is added or not, provided that your document is coded in unicode (which is the default if not specified)

Cheers,
Geert

ram(_dot_)shankar(_at_)sgcib(_dot_)com wrote:

Hello Andrew
The xml file generated has to be uploaded to an external server. The specs
say that the tag only has to be in the format <?xml version="1.0"?>, maybe
there is some validation being done. I am not aware of that validation but
i know that the tag should be like <?xml version="1.0"?>.
Is there a way to achieve this ?


Thanks and Regards
Ram



andrew(_dot_)j(_dot_)welch(_at_)gm ail.com To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com cc: 10/28/2005 02:09 Subject: Re: [xsl] Discarding encoding="UTF-8" in the '<xml>'element PM Please respond to xsl-list




Hello List
My output xml file generated after transformation contains the xml

element

as : <?xml version="1.0" encoding="UTF-8" ?>
Is there a way i can discard  the  encoding="UTF-8" part ?

Thanks for any help given.


Why would you want to do that?

--~------------------------------------------------------------------
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>
 --~--

*************************************************************************
This message and any attachments (the "message") are confidential and intended 
solely for the addressee(s).
Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or
falsified.
                              ************
Ce message et toutes les pieces jointes (ci-apres le "message") sont 
confidentiels et etablis a l'intention exclusive de ses
destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
*************************************************************************

--~------------------------------------------------------------------
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>
--~--



--
Drs. G.P.H. Josten
Consultant



Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl


De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.

--~------------------------------------------------------------------
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>
--~--