[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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

Subject: Re: [xsl] Re: encoding <-> omit-xml-declaration
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Sun, 18 Jan 2004 19:33:19 +0100

Maia Zaharieva wrote:

ok. i got it. thanks for the answer.

i have been searching the archives for too long time now but i still cant
find the best way to solve the following problem:

- i need the xml output
- i have to omit the xml declaration on the beginning
- and if i have some entity in my source file i have to keep it the way it
should just be copied to

i really hope there is some better way than to parse each text node and test
for entities!

i'd be thankfull for any tipps,

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)?


<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

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

Current Thread