linking xml files each others using <!ENTITY> tag

Subject: linking xml files each others using <!ENTITY> tag
From: "Emmanuel.Leguy" <Emmanuel.Leguy@xxxxxxx>
Date: Tue, 12 Oct 1999 16:10:15 +0200
Hello,

I use cocoon and I would like to use links to xml files in a top xml
file:

ex:
the file book.xml points on intro.xml, chap1.xml, chap2.xml, chap3.xml
and concl.xml

I use tis code at the begining of book.xml:

<!DOCTYPE book [
<!ENTITY intro SYSTEM "./intro.xml">
<!ENTITY chap1 SYSTEM "./chap1.xml">
<!ENTITY chap2 SYSTEM "./chap2.xml">
<!ENTITY chap3 SYSTEM "./chap3.xml">
<!ENTITY concl SYSTEM "./concl.xml">
]>
 
And in the file:

<book>
&intro;
&chap1;
&chap2;
&chap3;
&concl;
</book>

of course i have an associated xsl file with book.xml. And cocoon makes
the transformation for the "book" tag but it does not read the content
of the 5 others files and does not make the transformation of these
files.

Thank you for your help,

Emmanuel.
--
Laboratoire d'Informatique Fondamentale de Lille (LIFL)
Universite des Sciences et Technologies de Lille
Batiment M3 Cite Scientifique
59655 Villeneuve d'Ascq Cedex
FRANCE
tel: 03 20 33 63 38
fax: 03 20 43 65 66
mailto:Emmanuel.Leguy@xxxxxxx
http://www.lifl.fr


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread