QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
annotations | optional | ||||||
arch | optional | ||||||
audience | optional | ||||||
condition | optional | ||||||
conformance | optional | ||||||
dir | restriction of xs:token | optional | |||||
linkend | xs:IDREF | optional | |||||
os | optional | ||||||
remap | optional | ||||||
revision | optional | ||||||
revisionflag | restriction of xs:token | optional | |||||
role | optional | ||||||
security | optional | ||||||
userlevel | optional | ||||||
vendor | optional | ||||||
version | optional | ||||||
wordsize | optional | ||||||
xlink:actuate | xlink:actuateType | optional | |||||
xlink:arcrole | xlink:arcroleType | optional | |||||
xlink:href | xlink:hrefType | optional | |||||
xlink:role | xlink:roleType | optional | |||||
xlink:show | xlink:showType | optional | |||||
xlink:title | xlink:titleAttrType | optional | |||||
xlink:type | xlink:typeType | optional | |||||
xml:base | xs:anyURI | optional |
|
||||
xml:id | xs:ID | optional |
|
||||
xml:lang | union of(xs:language, restriction of xs:string) | optional |
|
||||
xreflabel | optional |
<xs:element name="acronym"> <xs:complexType mixed="true"> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="docbook:inlinemediaobject"/> <xs:element ref="docbook:remark"/> <xs:element ref="docbook:superscript"/> <xs:element ref="docbook:subscript"/> <xs:element ref="docbook:xref"/> <xs:element ref="docbook:link"/> <xs:element ref="docbook:olink"/> <xs:element ref="docbook:anchor"/> <xs:element ref="docbook:biblioref"/> <xs:element ref="docbook:alt"/> <xs:element ref="docbook:annotation"/> <xs:element ref="docbook:indexterm"/> <xs:element ref="docbook:phrase"/> <xs:element ref="docbook:replaceable"/> <xs:element ref="docbook:trademark"/> </xs:choice> <xs:attribute name="role"/> <xs:attributeGroup ref="docbook:db.common.attributes"/> <xs:attributeGroup ref="docbook:db.common.linking.attributes"/> </xs:complexType> </xs:element> |
< para xmlns = "http://docbook.org/ns/docbook" > |
All DocBook V5.0 elements are in the namespace |
< uri> |
http://docbook.org/ns/docbook |
</ uri> |
. |
< acronym> |
XML |
< alt> |
Extensible Markup Language |
</ alt> |
</ acronym> |
namespaces are used to distinguish between different element sets. In the last few years, almost all new XML grammars have used their own namespace. It is easy to create compound documents that contain elements from different XML vocabularies. DocBook V5.0 is following this design rule. Using namespaces in your documents is very easy. Consider this simple article marked up in DocBook V4.5: |
</ para> |