From: Michael (michaelferrari@free.fr)
Date: 11/04/2004 - 09:21
ben deja les CDATA ne sont pas parser :
CDATA
Everything inside a CDATA section is ignored by the parser.
If your text contains a lot of "<" or "&" characters - as program code
often does - the XML element can be defined as a CDATA section.
A CDATA section starts with "<![CDATA[" and ends with "]]>":
concernant les PCDATA :
Another source of confusion is the distinction between CDATA and RCDATA
declared content and the #PCDATA content token:
<!ELEMENT badnews1 - - CDATA >
<!ELEMENT phrase - - (#PCDATA) >
<!-- The following means that an OOPS element must contain a
single subelement with generic identifier "CDATA":
-->
<!ELEMENT oops - - (CDATA) >
<!-- And the following is illegal:
-->
<!ELEMENT oops2 - - #PCDATA >
Notice that the CDATA, RCDATA, EMPTY, and ANY keywords do not (and cannot)
appear inside a parenthesized model group, and they are not prefixed with
an RNI (#) delimiter like #PCDATA is.
bon courage !
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:06 UTC
webmaster@xmlfr.org
|