# HG changeset patch # User Patrick PIERRE <patrick.pierre@prismallia.fr> # Date 1315902270 -7200 # Node ID adde3c1288f27d9fec87b542884824c9dc526445 # Parent 7cfe2d4957c68ae6e90b66118266f66230aac13b Ajout d'un résumé dans les sections diff -r 7cfe2d4957c6 -r adde3c1288f2 RelaxNG/publidoc.rnc --- a/RelaxNG/publidoc.rnc mer. juil. 20 22:57:09 2011 +0200 +++ b/RelaxNG/publidoc.rnc mar. sept. 13 10:24:30 2011 +0200 @@ -83,10 +83,12 @@ (title, subtitle?)? & language? & author* + & abstract? & annotation* section.head.content = (title, subtitle?)? & language? + & abstract? & annotation* block.head.content = (title, subtitle?)? diff -r 7cfe2d4957c6 -r adde3c1288f2 RelaxNG/publidoc.rng --- a/RelaxNG/publidoc.rng mer. juil. 20 22:57:09 2011 +0200 +++ b/RelaxNG/publidoc.rng mar. sept. 13 10:24:30 2011 +0200 @@ -200,6 +200,9 @@ <zeroOrMore> <ref name="author"/> </zeroOrMore> + <optional> + <ref name="abstract"/> + </optional> <zeroOrMore> <ref name="annotation"/> </zeroOrMore> @@ -216,6 +219,9 @@ <optional> <ref name="language"/> </optional> + <optional> + <ref name="abstract"/> + </optional> <zeroOrMore> <ref name="annotation"/> </zeroOrMore> diff -r 7cfe2d4957c6 -r adde3c1288f2 Xml/Documents/torture_test.xml --- a/Xml/Documents/torture_test.xml mer. juil. 20 22:57:09 2011 +0200 +++ b/Xml/Documents/torture_test.xml mar. sept. 13 10:24:30 2011 +0200 @@ -63,6 +63,9 @@ <head> <title>Les Misérables</title> <subtitle>Extrait</subtitle> + <abstract> + <p>Où l’on apprend la mort de Jean Valjean.</p> + </abstract> </head> <p>Cosette et Marius tombèrent à genoux, éperdus, étouffés de larmes, chacun sur une des mains de Jean Valjean. Ces mains augustes ne @@ -78,6 +81,9 @@ <head> <title>Germinal</title> <subtitle>Extrait</subtitle> + <abstract> + <p>Où l’on découvre une ambiance pesante.</p> + </abstract> </head> <section> <p>Pas une parole n'était échangée. Ils tapaient tous, on