🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #9078

retour chariot et Sax/DOM

#9078
From: christophe d
Date: Fri, 15 Jun 2001 19:03
14 lines
1433 bytes
Salut,
J'utilise Sax1 avec Java pour traiter du XML.
Mon probl�me c'est que j'ai une chaine qui contient des retours chariot et
ceci sont remplac�s par de simples espaces dans Sax.

<Donnee machine="  sdfsfs
sdfsfsdf sdfgsdf"/>

J'ai lu que XML consid�rait les retours comme des white space. J'aimerais
savoir comment r�cup�rer "machine" avec les retours chariots initiaux, avec
Sax si possible ou bien DOM.

A+
Christophe
Technical Details
Message-ID: <9_sW6.1879$kn6.7126209@nnrp3.proxad.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!proxad.net!feeder2-1.proxad.net!nnrp3.proxad.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,83008a62531170ba,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-06-15 12:03:38 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!proxad.net!feeder2-1.proxad.net!nnrp3.proxad.net.POSTED!not-for-mail
From: "christophe d" <christophe@nospam.fr>
Newsgroups: fr.comp.text.xml
Subject: retour chariot et Sax/DOM
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <9_sW6.1879$kn6.7126209@nnrp3.proxad.net>
Date: Fri, 15 Jun 2001 19:03:33 GMT
NNTP-Posting-Host: 213.228.20.202
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp3.proxad.net 992631813 213.228.20.202 (Fri, 15 Jun 2001 21:03:33 CEST)
NNTP-Posting-Date: Fri, 15 Jun 2001 21:03:33 CEST
Organization: Guest of ProXad - France