[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: Re: encoding <-> omit-xml-declaration
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Sun, 18 Jan 2004 19:33:19 +0100
Re:  Re: encoding <-> omit-xml-declaration
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
is
e.g.
<element>f&uuml;r</element>
should just be copied to
<element>f&uuml;r</element>

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,
/maia

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


Julian

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

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.