[gnome-doc-utils/mallard: 23/87] Update attributes in app definition, add docbook comparison
- From: Shaun McCance <shaunm src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-doc-utils/mallard: 23/87] Update attributes in app definition, add docbook comparison
- Date: Sun, 19 Apr 2009 12:16:17 -0400 (EDT)
commit f804278406b0a5db88df0f54c57681231b30d013
Author: Shaun McCance <shaunm gnome org>
Date: Mon Nov 10 11:51:35 2008 -0600
Update attributes in app definition, add docbook comparison
---
doc/mallard/C/mal_inline_app.xml | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/doc/mallard/C/mal_inline_app.xml b/doc/mallard/C/mal_inline_app.xml
index 8fa1e97..b077e8a 100644
--- a/doc/mallard/C/mal_inline_app.xml
+++ b/doc/mallard/C/mal_inline_app.xml
@@ -27,10 +27,12 @@
<title>Application Names</title>
<synopsis><code mime="application/relax-ng-compact-syntax">
-mal_inline_app = element app
- { <link xref="mal_attr_link">mal_attr_link</link>?,
- <link xref="mal_inline#simple">mal_inline__simple</link>+
- }
+mal_inline_app = element app {
+ <link xref="mal_attr_link">mal_attr_link</link> ?,
+ attribute style { xsd:NMTOKENS } ?,
+ attribute * - (mal:* | local:*) { text } *,
+ <link xref="mal_inline#simple">mal_inline__simple</link>+
+}
</code></synopsis>
<p>The <code>app</code> element marks the human-readable name of an application
@@ -38,6 +40,7 @@ or the title of a window within an application. It should not be used to mark
the name of the command used to run an application; use
<code xref="mal_inline_cmd">cmd</code> for this purpose instead.</p>
+
<!-- BEGIN processing -->
<section id="processing">
<title>Processing Expectations</title>
@@ -61,4 +64,14 @@ the name of the command used to run an application; use
</section>
<!-- END processing -->
+
+<!-- BEGIN docbook -->
+<section id="docbook">
+ <title>Comparison to DocBook</title>
+ <p>The <code>app</code> element is functionally similar to DocBook's
+ <code href="http://www.docbook.org/tdg/en/html/application.html">application</code>
+ element.</p>
+</section>
+<!-- END docbook -->
+
</page>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]