--- a/RelaxNG/publidoc.rnc lun. févr. 04 18:00:19 2013 +0100
+++ b/RelaxNG/publidoc.rnc lun. févr. 04 22:48:10 2013 +0100
@@ -151,7 +151,9 @@
section.attributes =
section.type.attribute?
& lang.attribute?
+ & for.attribute?
section.type.attribute = attribute type { xsd:NCName }
+for.attribute = attribute for { xsd:NCName }
section.content =
section.head?,
--- a/RelaxNG/publiquiz.rnc lun. févr. 04 18:00:19 2013 +0100
+++ b/RelaxNG/publiquiz.rnc lun. févr. 04 22:48:10 2013 +0100
@@ -377,7 +377,7 @@
match.item.content =
inlines
- | (image | (audio, image?) | video)
+ | ((p | image | (audio, image?) | video), help?, answer?)
# ~~~~~~~~~~~~~~~~~~~~~~~~ (sort) comparison, item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -395,7 +395,7 @@
sort.item.content =
inlines
- | (image | (audio, image?) | video)
+ | ((p | image | (audio, image?) | video), help?, answer?)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (category) item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -403,7 +403,7 @@
category.item.content =
inlines
- | (image | (audio, image?) | video)
+ | ((p | image | (audio, image?) | video), help?, answer?)
# =============================================================================
--- a/Xxe/Css/publidoc.css lun. févr. 04 18:00:19 2013 +0100
+++ b/Xxe/Css/publidoc.css lun. févr. 04 22:48:10 2013 +0100
@@ -283,15 +283,36 @@
content: insert-before-button() add-attribute-button(icon, icon(plus-box))
" Type = " text-field(attribute, type, columns, 5, color, black);
}
+section[for]:before {
+ content: insert-before-button() add-attribute-button(icon, icon(plus-box))
+ " Pour = " text-field(attribute, for, 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][for]:before {
+ content: insert-before-button() add-attribute-button(icon, icon(plus-box))
+ " Type = " text-field(attribute, type, columns, 5, color, black)
+ " – Pour = " text-field(attribute, for, columns, 5, color, black);
+}
section[type][xml|lang]:before {
- content: insert-before-button()
+ content: insert-before-button() add-attribute-button(icon, icon(plus-box))
" Type = " text-field(attribute, type, columns, 5, color, black)
" – Langue = " text-field(attribute, "xml:lang", columns, 2, color, black);
}
+section[for][xml|lang]:before {
+ content: insert-before-button() add-attribute-button(icon, icon(plus-box))
+ " Pour = " text-field(attribute, for, columns, 5, color, black)
+ " – Langue = " text-field(attribute, "xml:lang", columns, 2, color, black);
+}
+section[type][for][xml|lang]:before {
+ content: insert-before-button()
+ " Type = " text-field(attribute, type, columns, 5, color, black)
+ " Pour = " text-field(attribute, for, columns, 5, color, black)
+ " – Langue = " text-field(attribute, "xml:lang", columns, 2, color, black);
+}
+
section section:before {
margin-left: 1em;
}