Ajout de la langue sur <section>
authorPatrick PIERRE <patrick.pierre@prismallia.fr>
jeu., 22 déc. 2011 13:43:17 +0100
changeset 64 2d6627e9d3d6
parent 63 60d5d3f81e19
child 65 2aad27159a33
Ajout de la langue sur <section>
RelaxNG/publidoc.rnc
RelaxNG/publidoc.rng
Xml/Documents/torture_test.xml
Xxe/Css/publidoc.css
Xxe/Css/top.png
Xxe/Templates/publidoc_document.xml
Xxe/Templates/publidoc_topic.xml
Xxe/publidoc.css
Xxe/publidoc.xxe
Xxe/publidoc_document.xml
Xxe/publidoc_topic.xml
Xxe/top.png
--- a/RelaxNG/publidoc.rnc	jeu. déc. 22 02:02:02 2011 +0100
+++ b/RelaxNG/publidoc.rnc	jeu. déc. 22 13:43:17 2011 +0100
@@ -286,6 +286,7 @@
 
 section.attributes =
    section.type.attribute?
+ & lang.attribute?
 section.type.attribute = attribute type { xsd:NCName }
 
 section.content =
--- a/RelaxNG/publidoc.rng	jeu. déc. 22 02:02:02 2011 +0100
+++ b/RelaxNG/publidoc.rng	jeu. déc. 22 13:43:17 2011 +0100
@@ -585,9 +585,14 @@
     </element>
   </define>
   <define name="section.attributes">
-    <optional>
-      <ref name="section.type.attribute"/>
-    </optional>
+    <interleave>
+      <optional>
+        <ref name="section.type.attribute"/>
+      </optional>
+      <optional>
+        <ref name="lang.attribute"/>
+      </optional>
+    </interleave>
   </define>
   <define name="section.type.attribute">
     <attribute name="type">
--- a/Xml/Documents/torture_test.xml	jeu. déc. 22 02:02:02 2011 +0100
+++ b/Xml/Documents/torture_test.xml	jeu. déc. 22 13:43:17 2011 +0100
@@ -65,6 +65,82 @@
     <!-- ================================================================== -->
     <division>
       <head>
+        <title>Le niveau section</title>
+      </head>
+      <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+      <topic>
+        <head>
+          <title>Les types de section</title>
+        </head>
+        <section type="box">
+          <head>
+            <title>Encadré</title>
+            <subtitle>« Casser sa pipe »</subtitle>
+          </head>
+          <p>
+            Il semblerait que cette expression vienne du Premier empire durant
+            les guerres Napoléoniennes.  Sur les champs de bataille de
+            l'époque, les médecins militaires (majors) ne disposaient pas du
+            matériel nécessaire pour anesthésier le soldat avant de
+            l'amputer. Pour résoudre ce problème, on avait trouvé une bien
+            maigre solution. Il s'agissait de donner une pipe en terre cuite au
+            patient qu'il place entre ses dents, pour éviter que ce dernier ne
+            crie. Dans le cas où le médecin échouait lors de l'opération et que
+            le soldat succombait, il lâchait alors la pipe qu'il tenait entre
+            ses mâchoires, et celle-ci tombait en se brisant.</p>
+          <p>Ce serait de là que naquit l'expression « casser sa pipe ».</p>
+        </section>
+        <section type="ex">
+          <head>
+            <title>Exemple</title>
+          </head>
+          <p>Quand on meurt on perd le goût de la vie. Quand on casse sa pipe,
+          on perd le goût du tabac.</p>
+        </section>
+        <section type="sign">
+          <head>
+            <title>Signature</title>
+          </head>
+          <p>Jeanson Henri</p>
+        </section>
+     </topic>
+      <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+      <topic>
+        <head>
+          <title>Les langues</title>
+        </head>
+        <section>
+          <head>
+            <title>Moyen mnémotechnique pour les planètes</title>
+          </head>
+          <p>Mercredi, viens-tu manger avec Jean sur une nappe propre ?</p>
+          <p>Mercure, Vénus, Terre, Mars, Astéroïdes, Saturne, Uranus, Neptune,
+          Pluton</p>
+        </section>
+        <section xml:lang="en">
+          <head>
+            <title>Don't look a gift horse in the mouth</title>
+          </head>
+          <section>
+            <head><title>Meaning</title></head>
+            <p>Don't be ungrateful when you receive a gift.</p>
+          </section>
+          <section>
+            <head><title>Origin</title></head>
+            <p>This comes into the category of phrases called proverbs. The
+            phrase is often expressed as 'never look a gift horse in the
+            mouth'.</p>
+            <p>As horses age their teeth begin to project further forward each
+            year and so their age can be estimated by checking how prominent
+            the teeth are.</p>
+          </section>
+        </section>
+      </topic>
+    </division>
+    
+    <!-- ================================================================== -->
+    <division>
+      <head>
         <title>Le niveau bloc</title>
       </head>
       <division>
@@ -127,32 +203,6 @@
               <p>Émile ZOLA</p>
             </section>
           </section>
-          <section type="box">
-            <head>
-              <title>Encadré</title>
-              <subtitle>« Casser sa pipe »</subtitle>
-            </head>
-            <p>
-              Il semblerait que cette expression vienne du Premier empire
-              durant les guerres Napoléoniennes.  Sur les champs de bataille de
-              l'époque, les médecins militaires (majors) ne disposaient pas du
-              matériel nécessaire pour anesthésier le soldat avant de
-              l'amputer. Pour résoudre ce problème, on avait trouvé une bien
-              maigre solution. Il s'agissait de donner une pipe en terre cuite
-              au patient qu'il place entre ses dents, pour éviter que ce
-              dernier ne crie. Dans le cas où le médecin échouait lors de
-              l'opération et que le soldat succombait, il lâchait alors la pipe
-              qu'il tenait entre ses mâchoires, et celle-ci tombait en se
-              brisant.</p>
-              <p>Ce serait de là que naquit l'expression « casser sa pipe ».
-            </p>
-          </section>
-          <section>
-            <head>
-              <title>Moyen mnémotechnique</title>
-            </head>
-            <p>Mercredi, viens-tu manger avec Jean sur une nappe propre ?</p>
-          </section>
         </topic>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <topic>
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/Xxe/Css/publidoc.css	jeu. déc. 22 13:43:17 2011 +0100
@@ -0,0 +1,340 @@
+/* $Id$ */
+
+*::comment { display: none; }
+
+publidoc {
+  display: block;
+  font-family: sans-serif;
+  padding: 0;
+}
+
+
+/* Head level ============================================================== */
+
+head {
+  display: block;
+  margin-bottom: .5em;
+  background-color: #fafafa;
+  padding: 0 .2em 0 .2em;
+  border: 1px solid #bbbbbb;
+  border-radius: 0.2em;
+}
+
+head > *:before {
+ display: marker;
+ content: element-label();
+ color:  #7f7f7f;
+}
+head > title:before { display: none; }
+head > subtitle:before { display: none; }
+head > identifier[type="uri"]:before { content: insert-before-button() " URI :"; }
+head > identifier[type="ean"]:before { content: insert-before-button() " EAN :"; }
+head > language:before { content: insert-before-button() " Langue :"; }
+head > copyright:before { content: insert-before-button() " Copyright :"; }
+head > author:before { content: insert-before-button() " Auteur :"; }
+head > publisher:before { content: insert-before-button() " Éditeur :"; }
+head > date:before { content: insert-before-button() " Date :"; }
+head > place:before { content: insert-before-button() " Lieu :"; }
+head > source:before { content: insert-before-button() " Source :"; }
+head > keywordset:before { content: insert-before-button() " Mots clés :"; }
+head > subjectset:before { content: insert-before-button() " Thèmes :"; }
+head > abstract:before { content: insert-before-button() " Résumé :"; }
+head > cover:before { content: insert-before-button() " Couverture :"; }
+head > annotation:before { content: insert-before-button() " Annotation :"; }
+
+head > * {
+ display: block;
+ margin: 0 0 .5em 7em;
+}
+head > title {
+  font-size: 120%;
+  font-weight: bold;
+  color: #004080;
+  margin: .2em 0 .2em 0;
+}
+head > subtitle {
+  font-weight: bold;
+  color: #004080;
+  margin: 0 0 .2em 0;
+}
+
+head > *:after {
+  color:  #7f7f7f;
+  content: " " insert-after-button();
+}
+head > annotation:after { content: ""; }
+
+language {
+  content: combo-box(attribute, "xml:lang", font-size, 75%,
+             labels, "Anglais\A Français\A Français (France)\A Espagnol",
+             values, "en\A fr\A fr-FR\A, es");
+}
+
+/* Division level ========================================================== */
+
+division:before {
+  display: block;
+  color: #7f7f7f;
+  content: collapser() " " insert-before-button() insert-after-button()
+           " Division"
+}
+
+division {
+  display: block;
+  border: 1px dotted #7f7f7f;
+  padding: 5px;
+  margin-bottom: .5em;
+  collapsible: yes;
+  not-collapsible-head: 1;
+}
+division:last-child {
+  margin-bottom: 0;
+}
+
+division > head {
+  background-color: #ffffee;
+  padding: .3em .5em .3em .5em;
+  border-radius: 0.5em;
+}
+
+
+/* Component level ========================================================= */
+
+topic:before {
+  display: block;
+  color: #7f7f7f;
+  background-color: #ddddcc;
+  border: 1px solid #aeaea0;
+  font-weight: bold;
+  padding: .5em 5px .5em 5px;
+  content: collapser() " " insert-before-button() insert-after-button()
+           " " add-attribute-button() " Topic";
+}
+topic[xml|id]:before {
+  content: collapser() " " insert-before-button() insert-after-button()
+           " " add-attribute-button() " Topic"
+           " – ID = " text-field(attribute, "xml:id", columns, 15, color, black);
+}
+topic[type]:before {
+  content: collapser() " " insert-before-button() insert-after-button()
+           " " add-attribute-button() " Topic"
+           " – Type = " text-field(attribute, type, columns, 10, color, black);
+}
+topic[xml|id][type]:before {
+  content: collapser() " " insert-before-button() insert-after-button()
+           " Topic"
+           " – ID = " text-field(attribute, "xml:id", columns, 15, color, black)
+           " – Type = " text-field(attribute, type, columns, 10, color, black);
+}
+
+topic {
+  display: block;
+  border: 1px solid #aeaea0;
+  margin-bottom: .5em;
+  padding: 5px;
+  collapsible: yes;
+}
+topic:last-child {
+  margin-bottom: 0;
+}
+
+topic > head {
+  background-color: #ffffee;
+  padding: .3em .5em .3em .5em;
+  border-radius: 0.5em;
+}
+
+
+/* Top level =============================================================== */
+
+publidoc > *:before {
+  display: block;
+  color: #bbbbbb;
+  background: #993333 url('top.png') repeat-x top left;
+  font-weight: bold;
+  padding: 1.2em 5px 1em 5px;
+}
+publidoc > document:before {
+  content: "Document – "
+           "ID = " text-field(attribute, "xml:id", columns, 15, color, white);
+}
+publidoc > topic[xml|id]:before {
+  content: add-attribute-button() " Topic – "
+           "ID = " text-field(attribute, "xml:id", columns, 15, color, white);
+}
+publidoc > topic[xml|id][type]:before {
+  content: "Topic"
+           " – ID = " text-field(attribute, "xml:id", columns, 15, color, white)
+           " – Type = " text-field(attribute, type, columns, 10, color, white);
+}
+
+
+publidoc > * {
+  display: block;
+  margin: 5px;
+  padding: 0;
+  border: 0;
+}
+
+publidoc > * > head {
+  background-color: #ffffee;
+  padding: .3em .5em .3em .5em;
+  border-radius: 0.5em;
+}
+
+publidoc > * > head > title {
+  font-size: 140%;
+}
+
+
+/* Section level =========================================================== */
+
+section:before {
+  display: block;
+  color: #7f7f7f;
+  text-align: left;
+  font-style: normal;
+  font-size: 75%;
+  padding-bottom: 3px;
+  content: insert-before-button() add-attribute-button(icon, icon(plus-box));
+}
+section[type]:before {
+  content: insert-before-button() add-attribute-button(icon, icon(plus-box))
+           " Type = " text-field(attribute, type, columns, 5, color, black);
+}
+section[xml|lang]:before {
+  content: insert-before-button() add-attribute-button(icon, icon(plus-box))
+           " Langue = " text-field(attribute, "xml:lang", columns, 2, color, black);
+}
+section[type][xml|lang]:before {
+  content: insert-before-button()
+           " Type = " text-field(attribute, type, columns, 5, color, black)
+           " – Langue = " text-field(attribute, "xml:lang", columns, 2, color, black);
+}
+section section:before {
+  margin-left: 1em;
+}
+
+section {
+  display: block;
+}
+section[type="box"] {
+  margin-bottom: .5em;
+  padding: 5px;
+  background-color: #e8f0f7;
+  border-radius: 0.2em;
+}
+section[type="ex"] { font-style: italic; }
+section[type="sign"] { text-align: right; }
+
+section section {
+  margin-left: 1em;
+}
+
+section:after {
+  color: #7f7f7f;
+  content: insert-after-button();
+}
+section section:after {
+  margin-left: 1em;
+}
+
+
+/* Block level ============================================================= */
+
+p:before, speech:before, list:before,
+blockquote:before, table:before, media:before {
+  display: marker;
+  content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
+           insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
+}
+
+p, speech, list, blockquote, table, media {
+  display: block;
+  margin-left: 24px;
+  font-size: 115%;
+  font-family: serif;
+}
+
+/* list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+list {
+  margin: .3em 0 .3em 24px;
+}
+
+list > head {
+  font-size: 75%;
+}
+
+item {
+  display: list-item;
+}
+list[type="ordered"] > item {
+  list-style-type: decimal;
+}
+
+item:after {
+  content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc));
+}
+
+list[type="glossary"] > item > label {
+  font-weight: bold;
+}
+
+/* blockquote ~~~~~~~~~~~~~~~~~~~~~~ */
+
+attribution { font-style: italic; }
+
+
+/* media ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+image {
+  display: block;
+  margin: .5em;
+  content: concatenate("image('Images/", attr(id), ".png', -200, -200, smooth)");
+}
+
+
+/* Inline level ============================================================ */
+
+/* sup, sub, var ~~~~~~~~~~~~~~~~~~~ */
+
+sup { font-family: sans-serif; vertical-align: super; font-size: 75%; }
+sub { font-family: sans-serif; vertical-align: sub;   font-size: 75%; }
+var { font-family: sans-serif; font-style: italic; }
+
+/* note ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+note:before { font-size: 75%; content: "(Note : "; }
+note { font-family: sans-serif; color: #004080; font-size: 75%; }
+note:after { font-size: 75%; content: ")"; }
+note p { display:inline; }
+
+/* highlight ~~~~~~~~~~~~~~~~~~~~~~~ */
+
+highlight { font-weight: bold; }
+
+/* link ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+link:before {
+  color: #7f7f7f;
+  font-family: sans-serif;
+  content: "["
+}
+
+media link {
+  display: block;
+}
+
+link:after {
+  color: #7f7f7f;
+  font-family: sans-serif;
+}
+link[uri]:after {
+  content: " ‣ " text-field(attribute, uri, color, black, font-size, 80%) "]";
+}
+link[idref]:after {
+  content: " ‣ " label(attribute, idref, color, black)
+           set-attribute-button(attribute, idref) "]";
+}
+
Binary file Xxe/Css/top.png has changed
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/Xxe/Templates/publidoc_document.xml	jeu. déc. 22 13:43:17 2011 +0100
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<publidoc version="1.0">
+  <document xml:id="???" >
+    <head>
+      <title></title>
+    </head>
+    <topic>
+      <head>
+        <title></title>
+      </head>
+      <section>
+        <p></p>
+      </section>
+    </topic>
+  </document>
+</publidoc>
\ No newline at end of file
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/Xxe/Templates/publidoc_topic.xml	jeu. déc. 22 13:43:17 2011 +0100
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<publidoc version="1.0">
+  <topic xml:id="???">
+    <head>
+      <title></title>
+    </head>
+    <section>
+      <p></p>
+    </section>
+  </topic>
+</publidoc>
--- a/Xxe/publidoc.css	jeu. déc. 22 02:02:02 2011 +0100
+++ /dev/null	jeu. janv. 01 00:00:00 1970 +0000
@@ -1,318 +0,0 @@
-/* $Id$ */
-
-*::comment { display: none; }
-
-publidoc {
-  display: block;
-  font-family: sans-serif;
-  padding: 0;
-}
-
-
-/* Head level ============================================================== */
-
-head {
-  display: block;
-  margin-bottom: .5em;
-  background-color: #fafafa;
-  padding: 0 .2em 0 .2em;
-  border: 1px solid #bbbbbb;
-  border-radius: 0.2em;
-}
-
-head > *:before {
- display: marker;
- content: element-label();
- color:  #7f7f7f;
-}
-head > title:before { display: none; }
-head > subtitle:before { display: none; }
-head > identifier[type="uri"]:before { content: insert-before-button() " URI :"; }
-head > identifier[type="ean"]:before { content: insert-before-button() " EAN :"; }
-head > language:before { content: insert-before-button() " Langue :"; }
-head > copyright:before { content: insert-before-button() " Copyright :"; }
-head > author:before { content: insert-before-button() " Auteur :"; }
-head > publisher:before { content: insert-before-button() " Éditeur :"; }
-head > date:before { content: insert-before-button() " Date :"; }
-head > place:before { content: insert-before-button() " Lieu :"; }
-head > source:before { content: insert-before-button() " Source :"; }
-head > keywordset:before { content: insert-before-button() " Mots clés :"; }
-head > subjectset:before { content: insert-before-button() " Thèmes :"; }
-head > abstract:before { content: insert-before-button() " Résumé :"; }
-head > cover:before { content: insert-before-button() " Couverture :"; }
-head > annotation:before { content: insert-before-button() " Annotation :"; }
-
-head > * {
- display: block;
- margin: 0 0 .5em 7em;
-}
-head > title {
-  font-size: 120%;
-  font-weight: bold;
-  color: #004080;
-  margin: .2em 0 .2em 0;
-}
-head > subtitle {
-  font-weight: bold;
-  color: #004080;
-  margin: 0 0 .2em 0;
-}
-
-head > *:after {
-  color:  #7f7f7f;
-  content: " " insert-after-button();
-}
-head > annotation:after { content: ""; }
-
-language {
-  content: combo-box(attribute, "xml:lang", font-size, 75%,
-             labels, "Anglais\A Français\A Français (France)\A Espagnol",
-             values, "en\A fr\A fr-FR\A, es");
-}
-
-/* Division level ========================================================== */
-
-division:before {
-  display: block;
-  color: #7f7f7f;
-  content: collapser() " " insert-before-button() insert-after-button()
-           " Division"
-}
-
-division {
-  display: block;
-  border: 1px dotted #7f7f7f;
-  padding: 5px;
-  margin-bottom: .5em;
-  collapsible: yes;
-  not-collapsible-head: 1;
-}
-division:last-child {
-  margin-bottom: 0;
-}
-
-division > head {
-  background-color: #ffffee;
-  padding: .3em .5em .3em .5em;
-  border-radius: 0.5em;
-}
-
-
-/* Component level ========================================================= */
-
-topic:before {
-  display: block;
-  color: #7f7f7f;
-  background-color: #ddddcc;
-  border: 1px solid #aeaea0;
-  font-weight: bold;
-  padding: .5em 5px .5em 5px;
-  content: collapser() " " insert-before-button() insert-after-button()
-           " " add-attribute-button() " Topic";
-}
-topic[xml|id]:before {
-  content: collapser() " " insert-before-button() insert-after-button()
-           " " add-attribute-button() " Topic"
-           " – ID = " text-field(attribute, "xml:id", columns, 15, color, black);
-}
-topic[type]:before {
-  content: collapser() " " insert-before-button() insert-after-button()
-           " " add-attribute-button() " Topic"
-           " – Type = " text-field(attribute, type, columns, 10, color, black);
-}
-topic[xml|id][type]:before {
-  content: collapser() " " insert-before-button() insert-after-button()
-           " Topic"
-           " – ID = " text-field(attribute, "xml:id", columns, 15, color, black)
-           " – Type = " text-field(attribute, type, columns, 10, color, black);
-}
-
-topic {
-  display: block;
-  border: 1px solid #aeaea0;
-  margin-bottom: .5em;
-  padding: 5px;
-  collapsible: yes;
-}
-topic:last-child {
-  margin-bottom: 0;
-}
-
-topic > head {
-  background-color: #ffffee;
-  padding: .3em .5em .3em .5em;
-  border-radius: 0.5em;
-}
-
-
-/* Top level =============================================================== */
-
-publidoc > *:before {
-  display: block;
-  color: #bbbbbb;
-  background: #993333 url('top.png') repeat-x top left;
-  font-weight: bold;
-  padding: 1.2em 5px 1em 5px;
-}
-publidoc > document:before {
-  content: "Document – "
-           "ID = " text-field(attribute, "xml:id", columns, 15, color, white);
-}
-publidoc > topic[xml|id]:before {
-  content: add-attribute-button() " Topic – "
-           "ID = " text-field(attribute, "xml:id", columns, 15, color, white);
-}
-publidoc > topic[xml|id][type]:before {
-  content: "Topic"
-           " – ID = " text-field(attribute, "xml:id", columns, 15, color, white)
-           " – Type = " text-field(attribute, type, columns, 10, color, white);
-}
-
-
-publidoc > * {
-  display: block;
-  margin: 5px;
-  padding: 0;
-  border: 0;
-}
-
-publidoc > * > head {
-  background-color: #ffffee;
-  padding: .3em .5em .3em .5em;
-  border-radius: 0.5em;
-}
-
-publidoc > * > head > title {
-  font-size: 140%;
-}
-
-
-/* Section level =========================================================== */
-
-section:before {
-  display: block;
-  color: #7f7f7f;
-  padding-bottom: 3px;
-  text-align: left;
-  content: insert-before-button() add-attribute-button(icon, icon(plus-box));
-}
-section[type]:before {
-  content: insert-before-button()
-           text(" Type = ", font-size, 75%)
-           text-field(attribute, type, columns, 10, color, black, font-size, 75%);
-}
-section section:before {
-  margin-left: 1em;
-}
-
-section {
-  display: block;
-}
-section[type="box"] {
-  margin-bottom: .5em;
-  padding: 5px;
-  background-color: #e8f0f7;
-  border-radius: 0.2em;
-}
-section[type="ex"] { font-style: italic; }
-section[type="sign"] { text-align: right; }
-
-section section {
-  margin-left: 1em;
-}
-
-section:after {
-  color: #7f7f7f;
-  content: insert-after-button();
-}
-
-
-/* Block level ============================================================= */
-
-p:before, speech:before, list:before,
-blockquote:before, table:before, media:before {
-  display: marker;
-  content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
-           insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
-}
-
-p, speech, list, blockquote, table, media {
-  display: block;
-  margin-left: 24px;
-  font-size: 115%;
-  font-family: serif;
-}
-
-/* list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-list {
-  margin: .3em 0 .3em 24px;
-}
-
-list > head {
-  font-size: 75%;
-}
-
-item {
-  display: list-item;
-}
-list[type="ordered"] > item {
-  list-style-type: decimal;
-}
-
-item:after {
-  content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc));
-}
-
-list[type="glossary"] > item > label {
-  font-weight: bold;
-}
-
-/* blockquote ~~~~~~~~~~~~~~~~~~~~~~ */
-
-attribution { font-style: italic; }
-
-
-/* Inline level ============================================================ */
-
-/* sup, sub, var ~~~~~~~~~~~~~~~~~~~ */
-
-sup { font-family: sans-serif; vertical-align: super; font-size: 75%; }
-sub { font-family: sans-serif; vertical-align: sub;   font-size: 75%; }
-var { font-family: sans-serif; font-style: italic; }
-
-/* note ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-note:before { font-size: 75%; content: "(Note : "; }
-note { font-family: sans-serif; color: #004080; font-size: 75%; }
-note:after { font-size: 75%; content: ")"; }
-note p { display:inline; }
-
-/* highlight ~~~~~~~~~~~~~~~~~~~~~~~ */
-
-highlight { font-weight: bold; }
-
-/* link ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-link:before {
-  color: #7f7f7f;
-  font-family: sans-serif;
-  content: "["
-}
-
-media link {
-  display: block;
-}
-
-link:after {
-  color: #7f7f7f;
-  font-family: sans-serif;
-}
-link[uri]:after {
-  content: " ‣ " text-field(attribute, uri, color, black, font-size, 80%) "]";
-}
-link[idref]:after {
-  content: " ‣ " label(attribute, idref, color, black)
-           set-attribute-button(attribute, idref) "]";
-}
-
--- a/Xxe/publidoc.xxe	jeu. déc. 22 02:02:02 2011 +0100
+++ b/Xxe/publidoc.xxe	jeu. déc. 22 13:43:17 2011 +0100
@@ -11,8 +11,8 @@
   <relaxng compactSyntax="true" encoding="UTF-8"
            location="../RelaxNG/publidoc.rnc"/>
 
-  <css location="publidoc.css" name="Publidoc"/>
+  <css location="Css/publidoc.css" name="Publidoc"/>
 
-  <template location="publidoc_topic.xml" name="Topic"/>
-  <template location="publidoc_document.xml" name="Document"/>
+  <template location="Templates/publidoc_topic.xml" name="Topic"/>
+  <template location="Templates/publidoc_document.xml" name="Document"/>
 </configuration>
--- a/Xxe/publidoc_document.xml	jeu. déc. 22 02:02:02 2011 +0100
+++ /dev/null	jeu. janv. 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<publidoc version="1.0">
-  <document xml:id="???" >
-    <head>
-      <title></title>
-    </head>
-    <topic>
-      <head>
-        <title></title>
-      </head>
-      <section>
-        <p></p>
-      </section>
-    </topic>
-  </document>
-</publidoc>
\ No newline at end of file
--- a/Xxe/publidoc_topic.xml	jeu. déc. 22 02:02:02 2011 +0100
+++ /dev/null	jeu. janv. 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<publidoc version="1.0">
-  <topic xml:id="???">
-    <head>
-      <title></title>
-    </head>
-    <section>
-      <p></p>
-    </section>
-  </topic>
-</publidoc>
Binary file Xxe/top.png has changed