# HG changeset patch # User Patrick PIERRE # Date 1491723400 -7200 # Node ID e2b49b4438536a6e3a8176f605b6e5f4cb5e8ad1 # Parent 34e00c6a38297fe537572c626b905e76c1ccf192 Ajout d'un libellé diff -r 34e00c6a3829 -r e2b49b443853 Data/Sets/composition.xml --- a/Data/Sets/composition.xml dim. mars 05 12:43:44 2017 +0100 +++ b/Data/Sets/composition.xml dim. avril 09 09:36:40 2017 +0200 @@ -54,9 +54,9 @@ <p>Où l'on évoque pêle-mêle quelques sujets d'actualité.</p> </abstract> </head> - <file>centre_pompidou.xml</file> - <file xpath="*">chasseurs.xml</file> - <file path="../Topics/Alternatives">rolls_phantom.xml</file> + <file label="Un nouveau centre Pompidou">centre_pompidou.xml</file> + <file label="Les chasseurs contestent" xpath="*">chasseurs.xml</file> + <file label="La Rolls Phantom" path="../Topics/Alternatives">rolls_phantom.xml</file> </division> <!-- =========================== Brèves ============================= --> @@ -68,7 +68,8 @@ <index><entry>brèves</entry><entry>Europe</entry></index> </indexset> </head> - <file xslt="composition.xsl" path="../Topics">portugal_ue.xml</file> + <file label="Le Portugal préside l'UE" xslt="composition.xsl" + path="../Topics">portugal_ue.xml</file> </division> <!-- ======================== Photographies ========================= --> @@ -80,7 +81,7 @@ </indexset> </head> <division as="topic" path="../Topics"> - <file xpath="topic/section">a380.xml</file> + <file label="L'A380" xpath="topic/section">a380.xml</file> </division> </division> @@ -89,7 +90,7 @@ <head> <title>Les livres</title> </head> - <file>les_miserables.xml</file> + <file label="Les Misérables">les_miserables.xml</file> </division> </division> </composition> diff -r 34e00c6a3829 -r e2b49b443853 RelaxNG/publiset.rnc --- a/RelaxNG/publiset.rnc dim. mars 05 12:43:44 2017 +0100 +++ b/RelaxNG/publiset.rnc dim. avril 09 09:36:40 2017 +0200 @@ -325,10 +325,12 @@ & (xpath.attribute | xslt.attribute)? & argument.attribute? & mode.attribute? + & label.attribute? selection.file.attributes = path.attribute? argument.attribute = attribute argument { text } mode.attribute = attribute mode { text } +label.attribute = attribute label { text } file.content = xsd:anyURI