]> granicus.if.org Git - docbook-dsssl/commitdiff
Added refname/refpurpose for db._emphasis and db._phrase
authorNorman Walsh <ndw@nwalsh.com>
Fri, 8 Jul 2005 10:13:41 +0000 (10:13 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 8 Jul 2005 10:13:41 +0000 (10:13 +0000)
docbook/relaxng/docbook/src/pool.rnc

index c984253473f27f4504b2288e0273aa9e3647b939..8bdeaed8bc55d91aee95bed71275691f3f73621e 100644 (file)
@@ -481,18 +481,6 @@ db.ubiq.inlines =
 
 db._text         = (text | db.ubiq.inlines | db._phrase | db.replaceable)*
 
-db._phrase =
-   element phrase {
-      db.phrase.attlist,
-      db._text
-   }
-
-db._emphasis =
-   element emphasis {
-      db.emphasis.attlist,
-      (db._text | db._emphasis)*
-   }
-
 db._title         = db.title? & db.titleabbrev? & db.subtitle?
 db._title.req     = db.title  & db.titleabbrev? & db.subtitle?
 db._title.only    = db.title? & db.titleabbrev?
@@ -6329,6 +6317,21 @@ div {
 
 # ======================================================================
 
+[
+   db:refname [ "emphasis" ]
+   db:refpurpose [ "A limited span of emphasized text" ]
+]
+div {
+
+   db._emphasis =
+      element emphasis {
+         db.emphasis.attlist,
+         (db._text | db._emphasis)*
+      }
+}
+
+# ======================================================================
+
 [
    db:refname [ "foreignphrase" ]
    db:refpurpose [ "A word or phrase in a language other than the primary language of the document" ]
@@ -6373,6 +6376,21 @@ div {
 
 # ======================================================================
 
+[
+   db:refname [ "phrase" ]
+   db:refpurpose [ "A limited span of text" ]
+]
+div {
+
+   db._phrase =
+      element phrase {
+         db.phrase.attlist,
+         db._text
+      }
+}
+
+# ======================================================================
+
 [
    db:refname [ "quote" ]
    db:refpurpose [ "An inline quotation" ]