Article View: fr.comp.text.xml
Article #8360Comment recuperer un retour a la ligne dans un xml
From: Cecile Vangeleyn
Date: Fri, 19 Oct 2001 14:24
Date: Fri, 19 Oct 2001 14:24
14 lines
1451 bytes
1451 bytes
Bonjour 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 ? Dans mon xsl, je fais par exemple : <xsl:if test="contains(text,'\n\r\')">blabla</xsl:if> J'ai essaye les suites \n\r, \n, \r, mais je ne sais vraiment pas comment faire pour les recuperer .... Quelqu'un peut il m'aider ? Merci beaucoup ... Cecile
Technical Details
Message-ID:
<9qpd1m$hh$1@unlisys.unlisys.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!unlisys!news.snafu.de!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII-7-bit X-Google-Thread: 114f60,d6b8da5ada4de8fe,start X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-10-19 07:23:50 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!unlisys!news.snafu.de!not-for-mail From: "Cecile Vangeleyn" <Cec.Vangeleyn@reuters.com> Newsgroups: fr.comp.text.xml Subject: Comment recuperer un retour a la ligne dans un xml Date: Fri, 19 Oct 2001 16:24:27 +0200 Organization: [Posted via] Inter.net Germany GmbH Lines: 16 Message-ID: <9qpd1m$hh$1@unlisys.unlisys.net> NNTP-Posting-Host: web72.testbed.int.ch X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700