diff options
Diffstat (limited to 'slides/schema/xsd/gui.xsd')
-rw-r--r-- | slides/schema/xsd/gui.xsd | 218 |
1 files changed, 218 insertions, 0 deletions
diff --git a/slides/schema/xsd/gui.xsd b/slides/schema/xsd/gui.xsd new file mode 100644 index 0000000..56fdb04 --- /dev/null +++ b/slides/schema/xsd/gui.xsd @@ -0,0 +1,218 @@ +<?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: pool.rnc 7466 2007-09-27 14:03:55Z 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:group name="db.keycombination.contentmodel"> + <xs:choice> + <xs:element ref="db:mousebutton"/> + <xs:choice> + <xs:element ref="db:keycap"/> + <xs:element ref="db:keycombo"/> + <xs:element ref="db:keysym"/> + </xs:choice> + </xs:choice> + </xs:group> + <xs:group name="db.gui.inlines"> + <xs:choice> + <xs:element ref="db:guiicon"/> + <xs:element ref="db:guibutton"/> + <xs:element ref="db:guimenuitem"/> + <xs:element ref="db:guimenu"/> + <xs:element ref="db:guisubmenu"/> + <xs:element ref="db:guilabel"/> + <xs:element ref="db:menuchoice"/> + <xs:element ref="db:mousebutton"/> + </xs:choice> + </xs:group> + <!-- ====================================================================== --> + <xs:attributeGroup name="db.guibutton.role.attribute"> + <xs:attribute name="role" use="required"/> + </xs:attributeGroup> + <xs:attributeGroup name="db.guibutton.attlist"> + <xs:attribute name="role"/> + <xs:attributeGroup ref="dbs:db.common.attributes"/> + <xs:attributeGroup ref="db:db.common.linking.attributes"/> + </xs:attributeGroup> + <xs:element name="guibutton"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="db:db._text"/> + <xs:element ref="db:accel"/> + <xs:element ref="db:superscript"/> + <xs:element ref="db:subscript"/> + </xs:choice> + <xs:attributeGroup ref="db:db.guibutton.attlist"/> + </xs:complexType> + </xs:element> + <!-- ====================================================================== --> + <xs:attributeGroup name="db.guiicon.role.attribute"> + <xs:attribute name="role" use="required"/> + </xs:attributeGroup> + <xs:attributeGroup name="db.guiicon.attlist"> + <xs:attribute name="role"/> + <xs:attributeGroup ref="dbs:db.common.attributes"/> + <xs:attributeGroup ref="db:db.common.linking.attributes"/> + </xs:attributeGroup> + <xs:element name="guiicon"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="db:db._text"/> + <xs:element ref="db:accel"/> + <xs:element ref="db:superscript"/> + <xs:element ref="db:subscript"/> + </xs:choice> + <xs:attributeGroup ref="db:db.guiicon.attlist"/> + </xs:complexType> + </xs:element> + <!-- ====================================================================== --> + <xs:attributeGroup name="db.guilabel.role.attribute"> + <xs:attribute name="role" use="required"/> + </xs:attributeGroup> + <xs:attributeGroup name="db.guilabel.attlist"> + <xs:attribute name="role"/> + <xs:attributeGroup ref="dbs:db.common.attributes"/> + <xs:attributeGroup ref="db:db.common.linking.attributes"/> + </xs:attributeGroup> + <xs:element name="guilabel"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="db:db._text"/> + <xs:element ref="db:accel"/> + <xs:element ref="db:superscript"/> + <xs:element ref="db:subscript"/> + </xs:choice> + <xs:attributeGroup ref="db:db.guilabel.attlist"/> + </xs:complexType> + </xs:element> + <!-- ====================================================================== --> + <xs:attributeGroup name="db.guimenu.role.attribute"> + <xs:attribute name="role" use="required"/> + </xs:attributeGroup> + <xs:attributeGroup name="db.guimenu.attlist"> + <xs:attribute name="role"/> + <xs:attributeGroup ref="dbs:db.common.attributes"/> + <xs:attributeGroup ref="db:db.common.linking.attributes"/> + </xs:attributeGroup> + <xs:element name="guimenu"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="db:db._text"/> + <xs:element ref="db:accel"/> + <xs:element ref="db:superscript"/> + <xs:element ref="db:subscript"/> + </xs:choice> + <xs:attributeGroup ref="db:db.guimenu.attlist"/> + </xs:complexType> + </xs:element> + <!-- ====================================================================== --> + <xs:attributeGroup name="db.guimenuitem.role.attribute"> + <xs:attribute name="role" use="required"/> + </xs:attributeGroup> + <xs:attributeGroup name="db.guimenuitem.attlist"> + <xs:attribute name="role"/> + <xs:attributeGroup ref="dbs:db.common.attributes"/> + <xs:attributeGroup ref="db:db.common.linking.attributes"/> + </xs:attributeGroup> + <xs:element name="guimenuitem"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="db:db._text"/> + <xs:element ref="db:accel"/> + <xs:element ref="db:superscript"/> + <xs:element ref="db:subscript"/> + </xs:choice> + <xs:attributeGroup ref="db:db.guimenuitem.attlist"/> + </xs:complexType> + </xs:element> + <!-- ====================================================================== --> + <xs:attributeGroup name="db.guisubmenu.role.attribute"> + <xs:attribute name="role" use="required"/> + </xs:attributeGroup> + <xs:attributeGroup name="db.guisubmenu.attlist"> + <xs:attribute name="role"/> + <xs:attributeGroup ref="dbs:db.common.attributes"/> + <xs:attributeGroup ref="db:db.common.linking.attributes"/> + </xs:attributeGroup> + <xs:element name="guisubmenu"> + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="db:db._text"/> + <xs:element ref="db:accel"/> + <xs:element ref="db:superscript"/> + <xs:element ref="db:subscript"/> + </xs:choice> + <xs:attributeGroup ref="db:db.guisubmenu.attlist"/> + </xs:complexType> + </xs:element> + <!-- ====================================================================== --> + <xs:attributeGroup name="db.menuchoice.role.attribute"> + <xs:attribute name="role" use="required"/> + </xs:attributeGroup> + <xs:attributeGroup name="db.menuchoice.attlist"> + <xs:attribute name="role"/> + <xs:attributeGroup ref="dbs:db.common.attributes"/> + <xs:attributeGroup ref="db:db.common.linking.attributes"/> + </xs:attributeGroup> + <xs:element name="menuchoice"> + <xs:complexType> + <xs:sequence> + <xs:element minOccurs="0" ref="db:shortcut"/> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="db:guibutton"/> + <xs:element ref="db:guiicon"/> + <xs:element ref="db:guilabel"/> + <xs:element ref="db:guimenu"/> + <xs:element ref="db:guimenuitem"/> + <xs:element ref="db:guisubmenu"/> + </xs:choice> + </xs:sequence> + <xs:attributeGroup ref="db:db.menuchoice.attlist"/> + </xs:complexType> + </xs:element> + <!-- ====================================================================== --> + <xs:attributeGroup name="db.mousebutton.role.attribute"> + <xs:attribute name="role" use="required"/> + </xs:attributeGroup> + <xs:attributeGroup name="db.mousebutton.attlist"> + <xs:attribute name="role"/> + <xs:attributeGroup ref="dbs:db.common.attributes"/> + <xs:attributeGroup ref="db:db.common.linking.attributes"/> + </xs:attributeGroup> + <xs:element name="mousebutton"> + <xs:complexType mixed="true"> + <xs:group ref="db:db._text"/> + <xs:attributeGroup ref="db:db.mousebutton.attlist"/> + </xs:complexType> + </xs:element> +</xs:schema> |