mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-02-11 00:32:13 +00:00
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
117 lines
4.9 KiB
XML
117 lines
4.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
This file is part of DocBook V5.0
|
|
|
|
Copyright 1992-2008 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: toc.rnc 8931 2010-10-20 13:29:20Z 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/.
|
|
|
|
======================================================================
|
|
-->
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
|
|
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
|
|
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
|
|
<xs:attributeGroup name="db.toc.pagenum.attribute">
|
|
<xs:attribute name="pagenum" use="required"/>
|
|
</xs:attributeGroup>
|
|
<!-- ====================================================================== -->
|
|
<xs:attributeGroup name="db.toc.role.attribute">
|
|
<xs:attribute name="role" use="required"/>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="db.toc.attlist">
|
|
<xs:attribute name="role"/>
|
|
<xs:attributeGroup ref="dbs:db.common.attributes"/>
|
|
<xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
|
</xs:attributeGroup>
|
|
<xs:group name="db.toc.info">
|
|
<xs:sequence>
|
|
<xs:group ref="db:db._info.title.only"/>
|
|
</xs:sequence>
|
|
</xs:group>
|
|
<xs:element name="toc">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:group ref="db:db.toc.info"/>
|
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
<xs:element ref="db:tocdiv"/>
|
|
<xs:element ref="db:tocentry"/>
|
|
</xs:choice>
|
|
</xs:sequence>
|
|
<xs:attributeGroup ref="db:db.toc.attlist"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<!-- ====================================================================== -->
|
|
<xs:attributeGroup name="db.tocdiv.role.attribute">
|
|
<xs:attribute name="role" use="required"/>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="db.tocdiv.pagenum.attribute">
|
|
<xs:attributeGroup ref="db:db.toc.pagenum.attribute"/>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="db.tocdiv.attlist">
|
|
<xs:attribute name="role"/>
|
|
<xs:attributeGroup ref="dbs:db.common.attributes"/>
|
|
<xs:attribute name="pagenum"/>
|
|
<xs:attribute name="linkend" type="xs:IDREF"/>
|
|
</xs:attributeGroup>
|
|
<xs:group name="db.tocdiv.info">
|
|
<xs:sequence>
|
|
<xs:group ref="db:db._info"/>
|
|
</xs:sequence>
|
|
</xs:group>
|
|
<xs:element name="tocdiv">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:group ref="db:db.tocdiv.info"/>
|
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
|
<xs:choice maxOccurs="unbounded">
|
|
<xs:element ref="db:tocdiv"/>
|
|
<xs:element ref="db:tocentry"/>
|
|
</xs:choice>
|
|
</xs:sequence>
|
|
<xs:attributeGroup ref="db:db.tocdiv.attlist"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<!-- ====================================================================== -->
|
|
<xs:attributeGroup name="db.tocentry.role.attribute">
|
|
<xs:attribute name="role" use="required"/>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="db.tocentry.pagenum.attribute">
|
|
<xs:attributeGroup ref="db:db.toc.pagenum.attribute"/>
|
|
</xs:attributeGroup>
|
|
<xs:attributeGroup name="db.tocentry.attlist">
|
|
<xs:attribute name="role"/>
|
|
<xs:attributeGroup ref="dbs:db.common.attributes"/>
|
|
<xs:attribute name="pagenum"/>
|
|
<xs:attribute name="linkend" type="xs:IDREF"/>
|
|
</xs:attributeGroup>
|
|
<xs:element name="tocentry">
|
|
<xs:complexType mixed="true">
|
|
<xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
|
|
<xs:attributeGroup ref="db:db.tocentry.attlist"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema>
|