Article View: fr.comp.text.xml
Article #8362Re: CDATA ou text par xsl ?
From: Thomas Broyer
Date: Fri, 19 Oct 2001 18:00
Date: Fri, 19 Oct 2001 18:00
19 lines
1900 bytes
1900 bytes
In <9qn2n0$20b$1@ites.inria.fr>, mphilippe wrote: > Comment faire dans une XSL pour savoir si le noeud contient un element > CDATA ou text tout cours ?? Lis le "Data Model", ce n'est pas possible. Une section CDATA n'est pas une unit� d'information, c'est p�rement de la syntaxe, du codage. > Des examples mathematique (par encore en MathML ;o) ) doivent > concerver la forme (pour une <pre> dans le HTML genere), > mais il peut etre entoure de text, ou plutot, une fois c'est l'un une fois > c'est l'autre ! Une section CDATA indique uniquement que le contenu ne doit pas �tre "pars�" (un < ne sera pas interpr�t� comme un d�but de balise, et un & ne sera pas interpr�t� comme un d�but d'appel de caract�re ou d'entit�, point barre), elle n'a aucune autre valeur, et en particulier n'apporte aucune information sur son contenu. Tom.
Technical Details
Message-ID:
<4097785.9J7NaK4W3v@ltgt.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!opentransit.net!proxad.net!feeder2-1.proxad.net!news2-2.free.fr!not-for-mailReferences:
<9qn2n0$20b$1@ites.inria.fr>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,bcf91bbf5b7b41d7 X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-10-19 10:53:45 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!opentransit.net!proxad.net!feeder2-1.proxad.net!news2-2.free.fr!not-for-mail Message-ID: <4097785.9J7NaK4W3v@ltgt.net> From: Thomas Broyer <tbroyer@domain.tld.invalid> Subject: Re: CDATA ou text par xsl ? Newsgroups: fr.comp.text.xml Reply-To: tbroyer@ltgt.net Mail-Copies-To: nobody Date: Fri, 19 Oct 2001 20:00:56 +0200 References: <9qn2n0$20b$1@ites.inria.fr> Organization: </> User-Agent: KNode/0.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit Lines: 19 NNTP-Posting-Date: 19 Oct 2001 19:53:43 MEST NNTP-Posting-Host: 217.128.160.14 X-Trace: 1003514023 news2-2.free.fr 2306 217.128.160.14 X-Complaints-To: abuse@proxad.net