--- a/RelaxNG/Examples/Documents/torture_test.xml lun. oct. 01 19:12:55 2012 +0200
+++ b/RelaxNG/Examples/Documents/torture_test.xml ven. oct. 19 11:31:59 2012 +0200
@@ -639,13 +639,18 @@
en Europe.</p>
</item>
<item>
+ <label>Mots mentionnés</label>
+ <p>Le mot <mentioned>table</mentioned> n'a qu'une syllabe.</p>
+ </item>
+ <item>
<label>Termes techniques</label>
<p>Un <term>hydrate</term> est un composé chimique contenant de
l'eau.</p>
</item>
<item>
- <label>Mots mentionnés</label>
- <p>Le mot <mentioned>table</mentioned> n'a qu'une syllabe.</p>
+ <label>Expression littérale</label>
+ <p><literal><html></literal> est l'ancêtre de tous les
+ éléments.</p>
</item>
<item>
<label>Liens</label>
--- a/RelaxNG/publidoc.rnc lun. oct. 01 19:12:55 2012 +0200
+++ b/RelaxNG/publidoc.rnc ven. oct. 19 11:31:59 2012 +0200
@@ -560,10 +560,11 @@
& note*
& foreign*
& highlight*
- & mentioned*
& quote*
& acronym*
+ & mentioned*
& term*
+ & literal*
& link*
& anchor*
& initial*
@@ -658,12 +659,6 @@
highlight.content = inlines
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mentioned ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-mentioned = element mentioned { mentioned.content }
-
-mentioned.content = inlines
-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quote ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quote = element quote { quote.content }
@@ -681,12 +676,24 @@
acronym.content = inlines
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mentioned ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+mentioned = element mentioned { mentioned.content }
+
+mentioned.content = inlines
+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
term = element term { term.content }
term.content = inlines
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ literal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+literal = element literal { literal.content }
+
+literal.content = text
+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ link ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
link = element link { link.attributes, link.content }