From: ckublermaitre@amadeus.net
Date: 24/07/2001 - 07:59
Bonjour,
En regardant dans les archives j'ai trouve un exemple mais je n'arrive pas
a le faire marcher. Je dois faire une erreur stupide mais je n'arrive pas a
la voir.
Si quelqu'un a une idee....
Merci.
Corinne
Mon fichier XML test.dtd :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE test SYSTEM "test.dtd" [
<!ENTITY article SYSTEM "toto.xml"> ]>
<test>
&article;
</test>
La DTD :
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v3.5 NT (http://www.xmlspy.com) by Pierre Gauche
(Amadeus Development) -->
<!--DTD generated by XML Spy v3.5 NT (http://www.xmlspy.com)-->
<!ELEMENT test (toto)>
<!ELEMENT toto (#PCDATA)>
toto.xml:
<toto>test</toto>
Quand j'affiche test.xml avec IE j'obtiens:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE test (View Source for full doctype...)>
<toto>test</toto>
<test />
--
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
|