[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: encoding <-> omit-xml-declaration
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ür</element> should just be copied to <element>fü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 ----- Original Message ----- [...] > > The default value of the encoding pseudo-attribute of the xml declaration is > "UTF-8". > > In case there is no xml declaration a parser will assume that the encoding > of the document is UTF-8. Therefore, for any encoding different from UTF-8 > the xml declaration must be specified (otherwise the parser will not be > correctly informed about the real encoding of the document). > > > Cheers, > > Dimitre Novatchev. > FXSL developer, > > http://fxsl.sourceforge.net/ -- the home of FXSL > Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|