Altova Mailing List Archives

Re: [xsl] Re: encoding <-> omit-xml-declaration

From: "Maia Zaharieva" <m.zaharieva@------->
Date: 1/18/2004 11:41:00 AM
----- Original Message ----- 
| > the background: i am actually writing xml-to-php
| > transformation (with multiple documents and a php-template as
| > input). because of the php section in the html code i had to
| > choose between - 1) simulating xml output and manipulating
| > the encoding or 2) getting html output and manipulating the
| > processing instructions.
| I do quite a bit of this type of thing with PHP and not quite sure where
| the problem would be,
| perhaps a representative example of your xml and xslt ( to php ) might
| result in a pratical answer.
| Gl, jim fuller

thanks for the offer jum! maybe i have done some error in reasoning, but
what i was thinking about was -  php script is always starting with <? and
ends with ?>... if i simply do copy of the processing instruction i am
loosing the question mark at the end when its the html output. thats why i
have changed to xml output (with omit-xml-declaration) and everything worked
perfect till the moment i noticed some of the elements may contain ansii
entities. hence the try to change the encoding.
anyway, now i am back to the html output and force the "?>" at the end of
the php script and all my problems arre solved


 XSL-List info and archive:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.