Je cherche à avoir une page "maîtresse" en (style CSS) qui puisse appeler d'autres pages stockées localement.
Je l'ai rédigé en anglais (approximatif malheureusement)
While writing an xml file with css stylesheet, to be displayed with firefox,
I am trying to reference an external xml file from this source xml file,
==> Firefox display the source file, but does not display the external file.
Could you give me an advice
1/ Extract from the xml source file
Code : Tout sélectionner
<?xml version="1.0" encoding="UTF8"?>
<?xml-stylesheet type="text/css" href="..\\Styles-S\\StyleSF.css" encoding="UTF-8"?>
<!DOCTYPE DOCUMENT [
<!ELEMENT LG (#PCDATA)>
<!ELEMENT CH (#PCDATA)>
<!ENTITY chap SYSTEM "..\\SrcS\\Src1.xml">
<body>
<DOCUMENT>
<CH>&chap;</CH>
</DOCUMENT>
</body>
Code : Tout sélectionner
<LG>
xxxxxxxxvvvvvvvvvvvvv
</LG>
3/Extract from "StyleSF.css" stylesheet
CH {
display: block;
text-align : left;
font-weight: bold;
height: 60px;
}
LG {
display: block;
text-align : left;
font-weight: bold;
height: 10px;
}
dtmck75
[modération]
Déjà Bonjour !
1/ Aucune raison de rédiger en anglais (en plus approximatif), mozfr est un forum français qui échange en français. Merci de bien vouloir le traduire.
2/ Quand on poste du code, il faut utiliser les balises [ code ][ /code ] </>, cela facilite la lecture. Elles ont donc été ajoutées.
[/modération]lool-lauris