1 |
commit: f17c24093ad7b59d8abc21db51007a1a8e94e78c |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 7 18:09:05 2021 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 7 18:09:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=f17c2409 |
7 |
|
8 |
devbook.rnc: Update from DTD |
9 |
|
10 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
11 |
|
12 |
devbook.rnc | 9 +++++++-- |
13 |
1 file changed, 7 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/devbook.rnc b/devbook.rnc |
16 |
index 54659de..2d21a4a 100644 |
17 |
--- a/devbook.rnc |
18 |
+++ b/devbook.rnc |
19 |
@@ -1,6 +1,7 @@ |
20 |
-# Copyright 2019-2020 Gentoo Authors |
21 |
+# Copyright 2019-2021 Gentoo Authors |
22 |
|
23 |
# Distributed under the terms of the MIT/X11 license |
24 |
+# or the CC-BY-SA-4.0 license (dual-licensed) |
25 |
|
26 |
# Document Type Definition for the Gentoo Devmanual |
27 |
|
28 |
@@ -52,12 +53,16 @@ title.attlist &= empty |
29 |
body = |
30 |
element body { body.attlist, (authors | contentsTree | block.class)+ } |
31 |
body.attlist &= empty |
32 |
-authors = element authors { authors.attlist, author+ } |
33 |
+authors = element authors { authors.attlist, (author+ | authorlist+) } |
34 |
authors.attlist &= empty |
35 |
author = element author { author.attlist, (text | inline.class)* } |
36 |
author.attlist &= |
37 |
attribute name { text }, |
38 |
attribute email { text }? |
39 |
+authorlist = element authorlist { authorlist.attlist, empty } |
40 |
+authorlist.attlist &= |
41 |
+ attribute title { text }, |
42 |
+ attribute href { text } |
43 |
contentsTree = element contentsTree { contentsTree.attlist, empty } |
44 |
contentsTree.attlist &= |
45 |
attribute maxdepth { text }?, |