xsl-list
[Top] [All Lists]

Re: Re: encoding <-> omit-xml-declaration

2004-01-18 12:16:07
In general you can't do that with XSLT, so you're using the wrong
technology to achieve what you want. On the other hand, it may make
sense to consider *why* you want that... Are you producing output for a
broken system that doesn't fully support XML (in which case these issues
should be irrelevant)?

yes i was afraid i cant do that with xslt. the technology is the right one.
i just choose te wrong way to go.
sometimes its good to know you have reached the limit :)

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.

thank you all for the great help!
/maia


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list