Article View: fr.comp.text.xml
Article #8361Re: Comment recuperer un retour a la ligne dans un xml
From: Thomas Broyer
Date: Fri, 19 Oct 2001 17:56
Date: Fri, 19 Oct 2001 17:56
13 lines
1535 bytes
1535 bytes
In <9qpd1m$hh$1@unlisys.unlisys.net>, Cecile Vangeleyn wrote: > j'ai un xml ou il y a du texte dedans que je dois formater. > Lorsqu'il y a un retour a la ligne dans le doc (il s'agit de nouvelles > ecrites par des journalistes) > je voudrais pouvoir afficher un petit message au client. > Mais pas moyen de recuperer les retours a la ligne. > Comment sont ils encodes ? La spec XML indique (in 2.11 End-of-Line Handling): �translating both the two-character sequence #xD #xA and any #xD that is not followed by #xA to a single #xA character.� Tom.
Technical Details
Message-ID:
<1087862.oOGUtdWV9S@ltgt.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news2-2.free.fr!not-for-mailReferences:
<9qpd1m$hh$1@unlisys.unlisys.net>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,d6b8da5ada4de8fe X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-10-19 10:49:32 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!isdnet!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news2-2.free.fr!not-for-mail Message-ID: <1087862.oOGUtdWV9S@ltgt.net> From: Thomas Broyer <tbroyer@domain.tld.invalid> Subject: Re: Comment recuperer un retour a la ligne dans un xml Newsgroups: fr.comp.text.xml Reply-To: tbroyer@ltgt.net Mail-Copies-To: nobody Date: Fri, 19 Oct 2001 19:56:43 +0200 References: <9qpd1m$hh$1@unlisys.unlisys.net> Organization: </> User-Agent: KNode/0.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit Lines: 13 NNTP-Posting-Date: 19 Oct 2001 19:49:31 MEST NNTP-Posting-Host: 217.128.160.14 X-Trace: 1003513771 news2-2.free.fr 2306 217.128.160.14 X-Complaints-To: abuse@proxad.net