# ======================================================================
+anyAttribute = attribute * { text }
+
id.attribute = attribute id { xsd:ID }
xml.lang.attribute = attribute xml:lang { text }
security.attribute = attribute security { text }
userlevel.attribute = attribute userlevel { text }
vendor.attribute = attribute vendor { text }
+version.attribute = attribute version { text }
# ======================================================================
remap.attribute?,
xreflabel.attribute?,
revisionflag.attribute?,
+ version.attribute?,
effectivity.attributes
common.attributes.idreq =
remap.attribute?,
xreflabel.attribute?,
revisionflag.attribute?,
+ version.attribute?,
effectivity.attributes
common.linking.attributes.req =
| db.productnumber
| db.publishername
-db.info = element info { docbook.title, info.elements* }
-db.info.titlereq = element info { docbook.titlereq, info.elements* }
-db.info.titleonly = element info { docbook.titleonly, info.elements* }
-db.info.titleonlyreq = element info { docbook.titleonlyreq, info.elements* }
-db.info.titleforbidden = element info { info.elements* }
-
docbook.info = (docbook.titlereq?, db.info.titleforbidden?) | db.info?
docbook.info.titlereq = (docbook.titlereq, db.info.titleforbidden?) | db.info.titlereq
docbook.info.titleonly = (docbook.titleonly, db.info.titleforbidden?) | db.info.titleonly
# ======================================================================
+[
+ db:refname [ "info" ]
+ db:refpurpose [ "" ]
+]
+div {
+
+ local.info.attributes = empty
+
+ info.role.attribute = attribute role { text }
+
+ info.attr =
+ info.role.attribute?
+ & common.attributes
+ & local.info.attributes
+
+ db.info =
+ element info {
+ info.attr,
+ docbook.title,
+ info.elements*
+ }
+}
+
+# ======================================================================
+
+[
+ db:refname [ "info" ]
+ db:refpurpose [ "" ]
+]
+div {
+
+ local.info.titlereq.attributes = empty
+
+ info.titlereq.role.attribute = attribute role { text }
+
+ info.titlereq.attr =
+ info.titlereq.role.attribute?
+ & common.attributes
+ & local.info.titlereq.attributes
+
+ db.info.titlereq =
+ element info {
+ info.titlereq.attr,
+ docbook.titlereq,
+ info.elements*
+ }
+}
+
+# ======================================================================
+
+[
+ db:refname [ "info" ]
+ db:refpurpose [ "" ]
+]
+div {
+
+ local.info.titleonly.attributes = empty
+
+ info.titleonly.role.attribute = attribute role { text }
+
+ info.titleonly.attr =
+ info.titleonly.role.attribute?
+ & common.attributes
+ & local.info.titleonly.attributes
+
+ db.info.titleonly =
+ element info {
+ info.titleonly.attr,
+ docbook.titleonly,
+ info.elements*
+ }
+}
+
+# ======================================================================
+
+[
+ db:refname [ "info" ]
+ db:refpurpose [ "" ]
+]
+div {
+
+ local.info.titleonlyreq.attributes = empty
+
+ info.titleonlyreq.role.attribute = attribute role { text }
+
+ info.titleonlyreq.attr =
+ info.titleonlyreq.role.attribute?
+ & common.attributes
+ & local.info.titleonlyreq.attributes
+
+ db.info.titleonlyreq =
+ element info {
+ info.titleonlyreq.attr,
+ docbook.titleonlyreq,
+ info.elements*
+ }
+}
+
+# ======================================================================
+
+[
+ db:refname [ "info" ]
+ db:refpurpose [ "" ]
+]
+div {
+
+ local.info.titleforbidden.attributes = empty
+
+ info.titleforbidden.role.attribute = attribute role { text }
+
+ info.titleforbidden.attr =
+ info.titleforbidden.role.attribute?
+ & common.attributes
+ & local.info.titleforbidden.attributes
+
+ db.info.titleforbidden =
+ element info {
+ info.titleforbidden.attr,
+ info.elements*
+ }
+}
+
+# ======================================================================
+
[
db:refname [ "subjectset" ]
db:refpurpose [ "" ]
local.othercredit.attributes = empty
- othercredit.class.attrib = attribute class {
+ othercredit.class.attribute = attribute class {
"copyeditor"
| "graphicdesigner"
| "other"
othercredit.role.attribute?
& common.attributes
& common.linking.attributes
- & othercredit.class.attrib
+ & othercredit.class.attribute
& local.othercredit.attributes
db.othercredit =
local.productname.attributes = empty
- productname.class.attrib = attribute class {
+ productname.class.attribute = attribute class {
"copyright" | "registered" | "service" | "trade"
}?
productname.role.attribute?
& common.attributes
& common.linking.attributes
- & productname.class.attrib
+ & productname.class.attribute
& local.productname.attributes
db.productname =
local.application.attributes = empty
- application.class.attrib = attribute class { "hardware" | "software" }
+ application.class.attribute = attribute class { "hardware" | "software" }
application.role.attribute = attribute role { text }
application.role.attribute?
& common.attributes
& common.linking.attributes
- & application.class.attrib
+ & application.class.attribute
& local.application.attributes
db.application =
local.database.attributes = empty
- database.class.attrib =
+ database.class.attribute =
attribute class {
"altkey"
| "constraint"
database.role.attribute?
& common.attributes
& common.linking.attributes
- & database.class.attrib?
+ & database.class.attribute?
& local.database.attributes
db.database =
local.filename.attributes = empty
- filename.path.attrib = attribute path { text }
- filename.class.attrib =
+ filename.path.attribute = attribute path { text }
+ filename.class.attribute =
attribute class {
"devicefile"
| "directory"
filename.role.attribute?
& common.attributes
& common.linking.attributes
- & filename.path.attrib?
- & filename.class.attrib?
+ & filename.path.attribute?
+ & filename.class.attribute?
& local.filename.attributes
db.filename =
local.code.attributes = empty
- code.language.attrib = attribute language { text }
+ code.language.attribute = attribute language { text }
code.role.attribute = attribute role { text }
code.role.attribute?
& common.attributes
& common.linking.attributes
- & code.language.attrib?
+ & code.language.attribute?
& local.code.attributes
db.code =
local.constant.attributes = empty
- constant.class.attrib = attribute class { "limit" }
+ constant.class.attribute = attribute class { "limit" }
constant.role.attribute = attribute role { text }
constant.role.attribute?
& common.attributes
& common.linking.attributes
- & constant.class.attrib?
+ & constant.class.attribute?
& local.constant.attributes
db.constant =
local.parameter.attributes = empty
- parameter.class.attrib = attribute class { "command" | "function" | "option" }
+ parameter.class.attribute = attribute class { "command" | "function" | "option" }
parameter.role.attribute = attribute role { text }
parameter.role.attribute?
& common.attributes
& common.linking.attributes
- & parameter.class.attrib?
+ & parameter.class.attribute?
& local.parameter.attributes
db.parameter =
local.replaceable.attributes = empty
- replaceable.class.attrib =
+ replaceable.class.attribute =
attribute class { "command" | "function" | "option" | "parameter" }
replaceable.role.attribute = attribute role { text }
replaceable.role.attribute?
& common.attributes
& common.linking.attributes
- & replaceable.class.attrib?
+ & replaceable.class.attribute?
& local.replaceable.attributes
db.replaceable =
local.tag.attributes = empty
- tag.class.attrib =
+ tag.class.attribute =
attribute class {
"attribute"
| "attvalue"
tag.role.attribute?
& common.attributes
& common.linking.attributes
- & tag.class.attrib
+ & tag.class.attribute
& local.tag.attributes
db.tag =
local.symbol.attributes = empty
- symbol.class.attrib = attribute class { "limit" }?
+ symbol.class.attribute = attribute class { "limit" }?
symbol.role.attribute = attribute role { text }
symbol.role.attribute?
& common.attributes
& common.linking.attributes
- & symbol.class.attrib
+ & symbol.class.attribute
& local.symbol.attributes
db.symbol =
local.systemitem.attributes = empty
- systemitem.class.attrib =
+ systemitem.class.attribute =
attribute class {
"daemon"
| "domainname"
systemitem.role.attribute?
& common.attributes
& common.linking.attributes
- & systemitem.class.attrib?
+ & systemitem.class.attribute?
& local.systemitem.attributes
db.systemitem =
local.uri.attributes = empty
- uri.type.attrib = attribute type { text }?
+ uri.type.attribute = attribute type { text }?
uri.role.attribute = attribute role { text }
uri.role.attribute?
& common.attributes
& common.linking.attributes
- & uri.type.attrib
+ & uri.type.attribute
& local.uri.attributes
db.uri =
local.citetitle.attributes = empty
- citetitle.pubwork.attrib =
+ citetitle.pubwork.attribute =
attribute pubwork {
"article"
| "bbs"
citetitle.role.attribute?
& common.attributes
& common.linking.attributes
- & citetitle.pubwork.attrib?
+ & citetitle.pubwork.attribute?
& local.citetitle.attributes
db.citetitle =
local.trademark.attributes = empty
- trademark.class.attrib =
+ trademark.class.attribute =
attribute class { "copyright" | "registered" | "service" | "trade" }
trademark.role.attribute = attribute role { text }
trademark.role.attribute?
& common.attributes
& common.linking.attributes
- & trademark.class.attrib?
+ & trademark.class.attribute?
& local.trademark.attributes
db.trademark =