Permalink
Browse files

Added override element

  • Loading branch information...
ndw committed Jun 28, 2010
1 parent b11e466 commit c39b57eb183a2799c862ab6bbc60a7250d2a296e
Showing with 50 additions and 0 deletions.
  1. +50 −0 relaxng/docbook/src/assembly-core.rnc
@@ -40,6 +40,8 @@ db.grammar.attribute =
]
attribute grammar { text }
# ======================================================================
[
db:refname [ "assembly" ]
db:refpurpose [ "Defines the hierarchy and relationships for a collection of resources" ]
@@ -65,6 +67,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "resources" ]
db:refpurpose [ "Contains one or more resource objects that are managed by the assembly" ]
@@ -90,6 +94,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "resource" ]
db:refpurpose [ "Identifies an object managed within the assembly" ]
@@ -128,6 +134,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "structure" ]
db:refpurpose [ "Describes the structure of a document" ]
@@ -170,6 +178,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "output" ]
db:refpurpose [ "Specify an output format and/or file name and/or renderas" ]
@@ -227,6 +237,29 @@ div {
}
}
# ======================================================================
[
db:refname [ "override" ]
db:refpurpose [ "A wrapper for information that a module overrides in the resource it includes" ]
]
div {
db.override.role.attribute = attribute role { text }
db.override.attlist =
db.override.role.attribute?
& db.common.attributes
db.override =
element override {
db.override.attlist,
(db._title & db.info.elements*)
}
}
# ======================================================================
[
db:refname [ "module" ]
db:refpurpose [ "A modular component within a structure" ]
@@ -290,12 +323,15 @@ div {
db.module.attlist,
((db.output | db.filterin | db.filterout)*,
db.module.info,
db.override?,
db.navigation.components*,
db.module*,
db.navigation.components*)
}
}
# ======================================================================
[
db:refname [ "filterout" ]
db:refpurpose [ "Elements with effectivity attributes matching this element are suppressed" ]
@@ -314,6 +350,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "filterin" ]
db:refpurpose [ "Elements with effectivity attributes matching this element are allowed" ]
@@ -332,6 +370,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "relationships" ]
db:refpurpose [ "Groups relationship elements to define associations between resources" ]
@@ -350,6 +390,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "relationship" ]
db:refpurpose [ "A relationship associates one or more resources" ]
@@ -377,6 +419,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "association" ]
db:refpurpose [ "Identifies the type of relationship between one or more resources" ]
@@ -396,6 +440,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "instance" ]
db:refpurpose [ "Identifies a resource that is part of a relationship" ]
@@ -415,6 +461,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "transforms" ]
db:refpurpose [ "List of transforms for converting from non-DocBook schemas" ]
@@ -433,6 +481,8 @@ div {
}
}
# ======================================================================
[
db:refname [ "transform" ]
db:refpurpose [ "Identifies a transform for converting from a non-DocBook schema" ]

0 comments on commit c39b57e

Please sign in to comment.