[gnome-doc-utils/mallard] [mallard] Splitting out table elements into subpages
- From: Shaun McCance <shaunm src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-doc-utils/mallard] [mallard] Splitting out table elements into subpages
- Date: Mon, 11 May 2009 19:10:51 -0400 (EDT)
commit 32fd28ce711b2f653c55a8745f911119a1d6f330
Author: Shaun McCance <shaunm gnome org>
Date: Mon May 11 15:07:33 2009 -0500
[mallard] Splitting out table elements into subpages
---
doc/mallard/C/mal_block.xml | 1 -
doc/mallard/C/mal_table.xml | 15 ++++-----------
doc/mallard/C/mal_table_col.xml | 24 ++++++++++++++++++++++++
doc/mallard/C/mal_table_td.xml | 20 ++++++++++++++++++++
doc/mallard/C/mal_table_tr.xml | 38 ++++++++++++++++++++++++++++++++++++++
5 files changed, 86 insertions(+), 12 deletions(-)
diff --git a/doc/mallard/C/mal_block.xml b/doc/mallard/C/mal_block.xml
index e86f47a..7e49cd6 100644
--- a/doc/mallard/C/mal_block.xml
+++ b/doc/mallard/C/mal_block.xml
@@ -103,7 +103,6 @@ mal_block_list = (
<!-- BEGIN tables -->
<section id="tables">
<info>
- <title type="link">Block Elements</title>
<link type="topic" xref="mal_table"/>
</info>
<title>Tables</title>
diff --git a/doc/mallard/C/mal_table.xml b/doc/mallard/C/mal_table.xml
index fe13f08..4277e55 100644
--- a/doc/mallard/C/mal_table.xml
+++ b/doc/mallard/C/mal_table.xml
@@ -28,23 +28,16 @@ mal_table = element table {
<link xref="mal_block_desc">mal_block_desc</link> ?,
( <link xref="mal_table_col">mal_table_col</link> + |
- <link xref="mal_table_colgroup">mal_table_colgroup</link> +
+ <link xref="mal_table_col">mal_table_colgroup</link> +
) ?,
( <link xref="mal_table_tr">mal_table_tr</link> + |
- ( <link xref="mal_table_thead">mal_table_thead</link> ?,
- <link xref="mal_table_tbody">mal_table_tbody</link> +,
- <link xref="mal_table_tfoot">mal_table_tfoot</link> ?
+ ( <link xref="mal_table_tr">mal_table_thead</link> ?,
+ <link xref="mal_table_tr">mal_table_tbody</link> +,
+ <link xref="mal_table_tr">mal_table_tfoot</link> ?
)
)
}
-mal_table_col = element col {}
-mal_table_colgroup = element colgroup { mal_table_col * }
-mal_table_thead = element thead { mal_table_tr + }
-mal_table_tbody = element tbody { mal_table_tr + }
-mal_table_tfoot = element tfoot { mal_table_tr + }
-mal_table_tr = element tr { mal_table_td * }
-mal_table_td = element td { <link xref="mal_block">mal_block</link> + }
</code></synopsis>
diff --git a/doc/mallard/C/mal_table_col.xml b/doc/mallard/C/mal_table_col.xml
new file mode 100644
index 0000000..d40633b
--- /dev/null
+++ b/doc/mallard/C/mal_table_col.xml
@@ -0,0 +1,24 @@
+<page xmlns="http://www.gnome.org/~shaunm/mallard"
+ type="topic"
+ id="mal_table_col">
+
+<info>
+ <link type="guide" xref="mal_block#tables"/>
+</info>
+
+<title>Columns and Column Groups</title>
+
+<synopsis><code mime="application/relax-ng-compact-syntax">
+mal_table_col = element col {
+ attribute style { xsd:NMTOKENS } ?,
+ attribute * - (mal:* | local:*) { text } *
+}
+mal_table_colgroup = element colgroup {
+ attribute style { xsd:NMTOKENS } ?,
+ attribute * - (mal:* | local:*) { text } *,
+
+ mal_table_col *
+}
+</code></synopsis>
+
+</page>
diff --git a/doc/mallard/C/mal_table_td.xml b/doc/mallard/C/mal_table_td.xml
new file mode 100644
index 0000000..41ef509
--- /dev/null
+++ b/doc/mallard/C/mal_table_td.xml
@@ -0,0 +1,20 @@
+<page xmlns="http://www.gnome.org/~shaunm/mallard"
+ type="topic"
+ id="mal_table_td">
+
+<info>
+ <link type="guide" xref="mal_block#tables"/>
+</info>
+
+<title>Table Cells</title>
+
+<synopsis><code mime="application/relax-ng-compact-syntax">
+mal_table_td = element td {
+ attribute style { xsd:NMTOKENS } ?,
+ attribute * - (mal:* | local:*) { text } *,
+
+ <link xref="mal_block">mal_block</link> +
+}
+</code></synopsis>
+
+</page>
diff --git a/doc/mallard/C/mal_table_tr.xml b/doc/mallard/C/mal_table_tr.xml
new file mode 100644
index 0000000..b76611a
--- /dev/null
+++ b/doc/mallard/C/mal_table_tr.xml
@@ -0,0 +1,38 @@
+<page xmlns="http://www.gnome.org/~shaunm/mallard"
+ type="topic"
+ id="mal_table_tr">
+
+<info>
+ <link type="guide" xref="mal_block#tables"/>
+</info>
+
+<title>Rows and Row Groups</title>
+
+<synopsis><code mime="application/relax-ng-compact-syntax">
+mal_table_tr = element tr {
+ attribute style { xsd:NMTOKENS } ?,
+ attribute * - (mal:* | local:*) { text } *,
+
+ <link xref="mal_table_td">mal_table_td</link> *
+}
+mal_table_thead = element thead {
+ attribute style { xsd:NMTOKENS } ?,
+ attribute * - (mal:* | local:*) { text } *,
+
+ mal_table_tr +
+}
+mal_table_tbody = element tbody {
+ attribute style { xsd:NMTOKENS } ?,
+ attribute * - (mal:* | local:*) { text } *,
+
+ mal_table_tr +
+}
+mal_table_tfoot = element tfoot {
+ attribute style { xsd:NMTOKENS } ?,
+ attribute * - (mal:* | local:*) { text } *,
+
+ mal_table_tr +
+}
+</code></synopsis>
+
+</page>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]