Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 3060 invoked from network); 1 Feb 2000 13:34:47 -0000 Received: from stargate.spray.se (212.78.194.91) by 63.211.145.10 with SMTP; 1 Feb 2000 13:34:47 -0000 Received: from 195.58.124.11 by stargate.spray.se (InterScan E-Mail VirusWall NT); Tue, 01 Feb 2000 14:34:39 +0100 (W. Europe Standard Time) Received: by guld.spray.se with Internet Mail Service (5.5.2650.21) id <1AZG3BY0>; Tue, 1 Feb 2000 14:35:39 +0100 Message-ID: <7886BFF3631FD311A33A00805FADAB3552E67B@guld.spray.se> From: =?iso-8859-1?Q?Johan_M=F6r=E9n?= To: "'general@xml.apache.org'" Subject: RE: serializing the Docktype Date: Tue, 1 Feb 2000 14:35:37 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! thanks for the fast reply, however it didn't solve the problem.=20 Johan/ -----Original Message----- From: Martin Tronstad [mailto:martin@gan.no] Sent: den 1 februari 2000 12:20 To: general@xml.apache.org Subject: RE: serializing the Docktype Hello According to xml the doctype name and the root element must bee the = same. Xml is defined CASE sensitiv, it might be your problem. Martin -----Original Message----- From: Johan M r=E9n [mailto:johan.moren@spray.se] Sent: Tuesday, February 01, 2000 10:40 AM To: 'general@xml.apache.org' Subject: serializing the Docktype Hi i'm having trouble with serializing my documents. It feels like i = tried everything but maybe someone can point me in the right direction. The document serializes fine to a file on my system, however the = "" won't show up in the serialized file. This is the document and the JavaCode im using when to serialize the = doc with the XMLSerializer: **** JAVACODE **** FileOutputStream fOut =3D new FileOutputStream(daFile); OutputFormat oFormat =3D new OutputFormat(doc,"ISO-8859-1",false); oFormat.setPreserveSpace(true); XMLSerializer xmlz =3D new XMLSerializer(fOut,oFormat); xmlz.serialize(doc); **** /JAVACODE **** ***** XML ***** epatraktor@spray.se Spray AB 1 sitetips spray.sport.motor 9000000 9000100 Arne Keutram sport sitetips 24/1 Dagens Sitetips Rockarsite Surfa till den h=E4r siten. Den rockar. Some Text http://www.spray.se formel1.gif sport/images/ Cool bil 30 30 **** XML **** Tnx in advance!! ________________________________s_p_r_a_y Johan M=F6r=E9n | johan.moren@spray.se Tel: 08-52790258 | Mob: 0709-322214 Home: 08-332826 | ICQ: 40762148