Article View: fr.comp.text.xml
Article #9287Re: Convertir un xml en chaine avec Xerces?
From: "Strazza ben"
Date: Wed, 25 Apr 2001 09:43
Date: Wed, 25 Apr 2001 09:43
24 lines
2002 bytes
2002 bytes
bon c'est pas avec xerces mais c'est apache... la methode getXMLDocument renvoie�le document en question� org.apache.xml.serialize.OutputFormat format = ���new org.apache.xml.serialize.OutputFormat(getXMLDocument()); ��format.setIndenting(true); ��java.io.StringWriter stringOut = new java.io.StringWriter(); ��org.apache.xml.serialize.XMLSerializer serial = ���new org.apache.xml.serialize.XMLSerializer(stringOut, format); ��serial.asDOMSerializer(); ��serial.serialize(getXMLDocument().getDocumentElement()); ��return stringOut.toString(); et voili voilou Benoit _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- Posted from [212.234.162.18] by way of f260.law8.hotmail.com [216.33.240.135] via Mailgate.ORG Server - http://www.Mailgate.ORG
Technical Details
Message-ID:
<F260uCBeORP1td8ZAAT0000c0b2@hotmail.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.177.105.133!news.mailgate.org!f260.law8.hotmail.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 114f60,ecf3b8d3a63dc677
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-04-25 02:43:13 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.177.105.133!news.mailgate.org!f260.law8.hotmail.com!not-for-mail
From: strazza_b@hotmail.com ("Strazza ben")
Newsgroups: fr.comp.text.xml
Subject: Re: Convertir un xml en chaine avec Xerces?
Date: Wed, 25 Apr 2001 09:43:09 +0000 (UTC)
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Lines: 24
Message-ID: <F260uCBeORP1td8ZAAT0000c0b2@hotmail.com>
NNTP-Posting-Host: f260.law8.hotmail.com
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
X-Trace: news.mailgate.org 988191789 2767 216.33.240.135 (Wed, 25 Apr 2001 09:43:02 )
X-Complaints-To: f260.law8.hotmail.com@abuse.net abuse@mailgate.org
NNTP-Posting-Date: Wed, 25 Apr 2001 09:43:09 +0000 (UTC)
Mail-From: strazza_b@hotmail.com from [212.234.162.18] by way of f260.law8.hotmail.com [216.33.240.135]
X-Originating-IP: [212.234.162.18]
X-URL: http://www.Mailgate.ORG