From: Marc CHANTREUX (khatar@phear.org)
Date: 20/09/2001 - 21:18
Decidement ... xml en ce moment ...
bon ... toujours avec mon Docbook, j'ai voulu integrer de nouvelles
ENTITIES de type SYSTEM ...
de la me viennent 2 questions :
1. inclure l'xpath d'un noeud dans une DTD ?
Je sais : j'abuse ... mais toutefois, ca serait bien pratique de pouvoir
ecrire :
<! ENTITY logo_doc SYSTEM "document(resources.xml)/ressources/image[@id
= 'logo_doc']">
pour ensuite tapper :
&logo_doc;
au lieu de :
<image id="logo_doc">
<href>../images/logoDoc.png</href>
<width>300</width>
<height>300</height>
<alt>300</alt>
</image>
2. inclure ENTITY SYSTEM dans la meme balise DTD que DOCTYPE ?
j'ai esayé diverses syntaxes du genre :
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE book PUBLIC
"-//Norman Walsh//DTD DocBk XML V4.1.2//FR"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
[CDATA[
<!ENTITY remerciements SYSTEM "remerciements.xml">
]]
>
avant de me resoudre à :
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE book PUBLIC
"-//Norman Walsh//DTD DocBk XML V4.1.2//FR"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
<book lang="fr">
<![CDATA[
<!ENTITY remerciements SYSTEM "remerciements.xml">
]]>
any ideas ?
Marc
-------------------------------------------------------------
"Advancing technology is not as important as fighting for
freedom, but it's still a good thing to do."
Richard M. Stallman
khatar@phear.org
--
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
|