From 25dd03e212ec291368a5172dd9daa335f7b6d7e7 Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Tue, 15 Aug 2017 14:39:43 +0300 Subject: [PATCH] adding itemizedlist to assignment --- XmlCross/xmlcross.xml | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/XmlCross/xmlcross.xml b/XmlCross/xmlcross.xml index 2c06db3e5..db7da594d 100644 --- a/XmlCross/xmlcross.xml +++ b/XmlCross/xmlcross.xml @@ -2445,6 +2445,26 @@ xmlns="http://docbook.org/ns/docbook"> <title>Go on ...</title> <paragraph lang="de">Hier kommt noch etwas.</paragraph> </chapter> + + <chapter> + <title>Complex examples</title> + <itemizedlist> + <listitem> + <paragraph lang="es"/> + </listitem> + <listitem> + <itemizedlist> + <listitem> + <paragraph>One</paragraph> + </listitem> + <listitem> + <paragraph>Two</paragraph> + <paragraph>Two and more</paragraph> + </listitem> + </itemizedlist> + </listitem> + </itemizedlist> + </chapter> </book></programlisting> <para>The following rules shall be obeyed:</para> @@ -2463,8 +2483,8 @@ xmlns="http://docbook.org/ns/docbook"> <listitem> <para>Each <tag class="starttag">chapter</tag> has (exactly one) a <tag class="starttag">title</tag> which is being - followed by at least one <tag - class="starttag">paragraph</tag>.</para> + followed by at least one <tag class="starttag">paragraph</tag> + or <tag class="starttag">itemizedlist</tag>.</para> </listitem> <listitem> @@ -2481,6 +2501,18 @@ xmlns="http://docbook.org/ns/docbook"> Use the data type <code xlink:href="http://www.kohsuke.org/relaxng/shorthand/ShortRNG.html#IDAPBSS">NMTOKEN</code>.</para> </listitem> + + <listitem> + <para><tag class="starttag">itemizedlist</tag> elements + consist of at least one <tag class="starttag">listitem</tag> + element.</para> + </listitem> + + <listitem> + <para><tag class="starttag">listitem</tag> elements consist of + least one <tag class="starttag">paragraph</tag> or <tag + class="starttag">itemizedlist</tag>.</para> + </listitem> </itemizedlist> <para>You may want to start from the following file -- GitLab