From: "Marc Pellmann" <[EMAIL PROTECTED]> > Hi! > > I want to read a File in dom4j - change some things - and than write to > the File, with the same encoding. How to do this? I do not see a change > to get the information of the encoding in the header of the xml file!?
We need to patch the code to preserve the encoding of the document in the Document instance so that by default writing out a document will preserve the orignal encoding. Right now you have to remember those details yourself and specify it to the OutputFormat for XMLWriter. James ------- http://radio.weblogs.com/0112098/ __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user