📄 docbook.rng.svn-base
字号:
<?xml version="1.0" encoding="utf-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:s="http://www.ascc.net/xml/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:db="http://docbook.org/ns/docbook" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://docbook.org/ns/docbook">
<s:ns prefix="a" uri="http://relaxng.org/ns/compatibility/annotations/1.0"/>
<s:ns prefix="ctrl" uri="http://nwalsh.com/xmlns/schema-control/"/>
<s:ns prefix="db" uri="http://docbook.org/ns/docbook"/>
<s:ns prefix="dbx" uri="http://sourceforge.net/projects/docbook/defguide/schema/extra-markup"/>
<s:ns prefix="html" uri="http://www.w3.org/1999/xhtml"/>
<s:ns prefix="mml" uri="http://www.w3.org/1998/Math/MathML"/>
<s:ns prefix="rng" uri="http://relaxng.org/ns/structure/1.0"/>
<s:ns prefix="s" uri="http://www.ascc.net/xml/schematron"/>
<s:ns prefix="svg" uri="http://www.w3.org/2000/svg"/>
<s:ns prefix="xlink" uri="http://www.w3.org/1999/xlink"/>
<!-- DocBook V5.0b7-->
<!-- See http://docbook.org/ns/docbook -->
<!--
This file is part of DocBook V5.0b8
Copyright 1992-2005 HaL Computer Systems, Inc.,
O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
Corporation, Norman Walsh, Sun Microsystems, Inc., and the
Organization for the Advancement of Structured Information
Standards (OASIS).
Release: $Id: docbook.rnc 6325 2006-09-26 22:57:52Z nwalsh $
Permission to use, copy, modify and distribute the DocBook schema
and its accompanying documentation for any purpose and without fee
is hereby granted in perpetuity, provided that the above copyright
notice and this paragraph appear in all copies. The copyright
holders make no representation about the suitability of the schema
for any purpose. It is provided "as is" without expressed or implied
warranty.
If you modify the DocBook schema in any way, label your schema as a
variant of DocBook. See the reference documentation
(http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
for more information.
Please direct all questions, bug reports, or suggestions for changes
to the docbook@lists.oasis-open.org mailing list. For more
information, see http://www.oasis-open.org/docbook/.
======================================================================
-->
<start>
<choice>
<choice>
<ref name="db.set"/>
<ref name="db.book"/>
<ref name="db.divisions"/>
<ref name="db.components"/>
<ref name="db.navigation.components"/>
<ref name="db.section"/>
<ref name="db.para"/>
</choice>
<choice>
<ref name="db.sect1"/>
<ref name="db.sect2"/>
<ref name="db.sect3"/>
<ref name="db.sect4"/>
<ref name="db.sect5"/>
</choice>
<choice>
<ref name="db.refentry"/>
<ref name="db.refsection"/>
</choice>
<choice>
<ref name="db.refsect1"/>
<ref name="db.refsect2"/>
<ref name="db.refsect3"/>
</choice>
<ref name="db.setindex"/>
</choice>
</start>
<div>
<define name="db._any.attribute">
<attribute>
<a:documentation>Any attribute including in any attribute in any namespace.</a:documentation>
<anyName/>
</attribute>
</define>
<define name="db._any">
<element>
<a:documentation>Any element from almost any namespace</a:documentation>
<anyName>
<except>
<nsName/>
<nsName ns="http://www.w3.org/1999/xhtml"/>
</except>
</anyName>
<zeroOrMore>
<choice>
<ref name="db._any.attribute"/>
<text/>
<ref name="db._any"/>
</choice>
</zeroOrMore>
</element>
</define>
</div>
<define name="db.arch.attribute">
<attribute name="arch">
<a:documentation>Designates the computer or chip architecture to which the element applies</a:documentation>
</attribute>
</define>
<define name="db.audience.attribute">
<attribute name="audience">
<a:documentation>Designates the intended audience to which the element applies</a:documentation>
</attribute>
</define>
<define name="db.condition.attribute">
<attribute name="condition">
<a:documentation>provides a standard place for application-specific effectivity</a:documentation>
</attribute>
</define>
<define name="db.conformance.attribute">
<attribute name="conformance">
<a:documentation>Indicates standards conformance characteristics of the element</a:documentation>
</attribute>
</define>
<define name="db.os.attribute">
<attribute name="os">
<a:documentation>Indicates the operating system to which the element is applicable</a:documentation>
</attribute>
</define>
<define name="db.revision.attribute">
<attribute name="revision">
<a:documentation>Indicates the editorial revision to which the element belongs</a:documentation>
</attribute>
</define>
<define name="db.security.attribute">
<attribute name="security">
<a:documentation>Indicates something about the security level associated with the element to which it applies</a:documentation>
</attribute>
</define>
<define name="db.userlevel.attribute">
<attribute name="userlevel">
<a:documentation>Indicates the level of user experience for which the element applies</a:documentation>
</attribute>
</define>
<define name="db.vendor.attribute">
<attribute name="vendor">
<a:documentation>Indicates the computer vendor to which the element applies.</a:documentation>
</attribute>
</define>
<define name="db.wordsize.attribute">
<attribute name="wordsize">
<a:documentation>Indicates the word size (width in bits) of the computer architecture to which the element applies</a:documentation>
</attribute>
</define>
<define name="db.effectivity.attributes">
<interleave>
<optional>
<ref name="db.arch.attribute"/>
</optional>
<optional>
<ref name="db.audience.attribute"/>
</optional>
<optional>
<ref name="db.condition.attribute"/>
</optional>
<optional>
<ref name="db.conformance.attribute"/>
</optional>
<optional>
<ref name="db.os.attribute"/>
</optional>
<optional>
<ref name="db.revision.attribute"/>
</optional>
<optional>
<ref name="db.security.attribute"/>
</optional>
<optional>
<ref name="db.userlevel.attribute"/>
</optional>
<optional>
<ref name="db.vendor.attribute"/>
</optional>
<optional>
<ref name="db.wordsize.attribute"/>
</optional>
</interleave>
</define>
<define name="db.endterm.attribute">
<attribute name="endterm">
<a:documentation>Points to the element whose content is to be used as the text of the link</a:documentation>
<data type="IDREF"/>
</attribute>
</define>
<define name="db.linkend.attribute">
<attribute name="linkend">
<a:documentation>Points to an internal link target by identifying the value of its xml:id attribute</a:documentation>
<data type="IDREF"/>
</attribute>
</define>
<define name="db.linkends.attribute">
<attribute name="linkends">
<a:documentation>Points to one or more internal link targets by identifying the value of their xml:id attributes</a:documentation>
<data type="IDREFS"/>
</attribute>
</define>
<define name="db.xlink.href.attribute">
<attribute name="xlink:href">
<a:documentation>Identifies a link target with a URI</a:documentation>
<data type="anyURI"/>
</attribute>
</define>
<define name="db.xlink.type.attribute">
<attribute name="xlink:type">
<a:documentation>Identifies the XLink link type</a:documentation>
<value>simple</value>
<a:documentation>An XLink simple link</a:documentation>
</attribute>
</define>
<define name="db.xlink.role.attribute">
<attribute name="xlink:role">
<a:documentation>Identifies the XLink role of the link</a:documentation>
<data type="anyURI"/>
</attribute>
</define>
<define name="db.xlink.arcrole.attribute">
<attribute name="xlink:arcrole">
<a:documentation>Identifies the XLink arcrole of the link</a:documentation>
<data type="anyURI"/>
</attribute>
</define>
<define name="db.xlink.title.attribute">
<optional>
<attribute name="xlink:title">
<a:documentation>Identifies the XLink title of the link</a:documentation>
</attribute>
</optional>
</define>
<define name="db.xlink.show.enumeration">
<choice>
<value>new</value>
<a:documentation>An application traversing to the ending resource should load it in a new window, frame, pane, or other relevant presentation context.</a:documentation>
<value>replace</value>
<a:documentation>An application traversing to the ending resource should load the resource in the same window, frame, pane, or other relevant presentation context in which the starting resource was loaded.</a:documentation>
<value>embed</value>
<a:documentation>An application traversing to the ending resource should load its presentation in place of the presentation of the starting resource.</a:documentation>
<value>other</value>
<a:documentation>The behavior of an application traversing to the ending resource is unconstrained by XLink. The application should look for other markup present in the link to determine the appropriate behavior.</a:documentation>
<value>none</value>
<a:documentation>The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior.</a:documentation>
</choice>
</define>
<define name="db.xlink.show.attribute">
<attribute name="xlink:show">
<a:documentation>Identifies the XLink show behavior of the link</a:documentation>
<ref name="db.xlink.show.enumeration"/>
</attribute>
</define>
<define name="db.xlink.actuate.enumeration">
<choice>
<value>onLoad</value>
<a:documentation>An application should traverse to the ending resource immediately on loading the starting resource.</a:documentation>
<value>onRequest</value>
<a:documentation>An application should traverse from the starting resource to the ending resource only on a post-loading event triggered for the purpose of traversal.</a:documentation>
<value>other</value>
<a:documentation>The behavior of an application traversing to the ending resource is unconstrained by this specification. The application should look for other markup present in the link to determine the appropriate behavior.</a:documentation>
<value>none</value>
<a:documentation>The behavior of an application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior.</a:documentation>
</choice>
</define>
<define name="db.xlink.actuate.attribute">
<attribute name="xlink:actuate">
<a:documentation>Identifies the XLink actuate behavior of the link</a:documentation>
<ref name="db.xlink.actuate.enumeration"/>
</attribute>
</define>
<define name="db.href.attribute">
<interleave>
<ref name="db.xlink.href.attribute"/>
<optional>
<ref name="db.xlink.type.attribute"/>
</optional>
<optional>
<ref name="db.xlink.role.attribute"/>
</optional>
<optional>
<ref name="db.xlink.arcrole.attribute"/>
</optional>
<optional>
<ref name="db.xlink.title.attribute"/>
</optional>
<optional>
<ref name="db.xlink.show.attribute"/>
</optional>
<optional>
<ref name="db.xlink.actuate.attribute"/>
</optional>
</interleave>
</define>
<define name="db.xml.id.attribute">
<attribute name="xml:id">
<a:documentation>Identifies the unique ID value of the element</a:documentation>
<data type="ID"/>
</attribute>
</define>
<define name="db.version.attribute">
<attribute name="version">
<a:documentation>Specifies the DocBook version of the element and its descendants</a:documentation>
</attribute>
</define>
<define name="db.xml.lang.attribute">
<attribute name="xml:lang">
<a:documentation>Specifies the natural language of the element and its descendants</a:documentation>
</attribute>
</define>
<define name="db.xml.base.attribute">
<attribute name="xml:base">
<a:documentation>Specifies the base URI of the element and its descendants</a:documentation>
<data type="anyURI"/>
</attribute>
</define>
<define name="db.remap.attribute">
<attribute name="remap">
<a:documentation>Provides the name or similar semantic identifier assigned to the content in some previous markup scheme</a:documentation>
</attribute>
</define>
<define name="db.xreflabel.attribute">
<attribute name="xreflabel">
<a:documentation>Provides the text that is to be generated for a cross reference to the element</a:documentation>
</attribute>
</define>
<define name="db.xrefstyle.attribute">
<attribute name="xrefstyle">
<a:documentation>Specifies a keyword or keywords identifying additional style information</a:documentation>
</attribute>
</define>
<define name="db.revisionflag.enumeration">
<choice>
<value>changed</value>
<a:documentation>The element has been changed.</a:documentation>
<value>added</value>
<a:documentation>The element is new (has been added to the document).</a:documentation>
<value>deleted</value>
<a:documentation>The element has been deleted.</a:documentation>
<value>off</value>
<a:documentation>Explicitly turns off revision markup for this element.</a:documentation>
</choice>
</define>
<define name="db.revisionflag.attribute">
<attribute name="revisionflag">
<a:documentation>Identifies the revision status of the element</a:documentation>
<ref name="db.revisionflag.enumeration"/>
</attribute>
</define>
<define name="db.dir.enumeration">
<choice>
<value>ltr</value>
<a:documentation>Left-to-right text</a:documentation>
<value>rtl</value>
<a:documentation>Right-to-left text</a:documentation>
<value>lro</value>
<a:documentation>Left-to-right override</a:documentation>
<value>rlo</value>
<a:documentation>Right-to-left override</a:documentation>
</choice>
</define>
<define name="db.dir.attribute">
<attribute name="dir">
<a:documentation>Identifies the direction of text in an element</a:documentation>
<ref name="db.dir.enumeration"/>
</attribute>
</define>
<define name="db.common.attributes">
<interleave>
<optional>
<ref name="db.xml.id.attribute"/>
</optional>
<optional>
<ref name="db.version.attribute"/>
</optional>
<optional>
<ref name="db.xml.lang.attribute"/>
</optional>
<optional>
<ref name="db.xml.base.attribute"/>
</optional>
<optional>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -