| FlexDoc/XML XSDDoc Demo | XML Schemas for XHTML 1.1

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

XML Schema "xhtml-ruby-1.xsd"
Target Namespace (adopted):
http://www.w3.org/1999/xhtml
Defined Components:
elements (9 local), complexTypes (6), element groups (8), attribute groups (6)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
http://www.w3.org/MarkUp/SCHEMA/xhtml-ruby-1.xsd; see XML source
Imports Schemas (1):
xhtml-datatypes-1.xsd [src]
Included in Schemas (1):
xhtml11-modules-1.xsd [src]
Description
Annotation 1 [src]:
This is the Ruby module for XHTML
$Id: xhtml-ruby-1.xsd,v 1.7 2010/05/02 17:22:08 ahby Exp $
Annotation 2 [src]:
See: http://www.w3.org/MarkUp/SCHEMA/xhtml-copyright-1.xsd
Annotation 3 [src]:
"Ruby" are short runs of text alongside the base text, typically
used in East Asian documents to indicate pronunciation or to
provide a short annotation. The full specification for Ruby is here:
http://www.w3.org/TR/2001/REC-ruby-20010531/
This module defines "Ruby " or "complex Ruby" as described
in the specification:
http://www.w3.org/TR/2001/REC-ruby-20010531/#complex
Simple or Basic Ruby are defined in a separate module.
This module declares the elements and their attributes used to
support complex ruby annotation markup. Elements defined here
* ruby, rbc, rtc, rb, rt, rp
This module expects the document model to define the
following content models
+ InlNoRuby.mix
Annotation 4 [src]:
See: http://www.w3.org/TR/2001/REC-ruby-20010531/

All Element Summary (local elements unified by type)
rb |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.rb.type
Content: | mixed, 34 elements
Defined: | locally at 2 locations
rbc |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.rbc.type
Content: | complex, 1 element
Defined: | locally in group xhtml.ruby.content.complex; see XML source
rp |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.rp.type
Content: | mixed
Defined: | locally at 2 locations
rt |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.rt.type
Content: | mixed, 1 attribute, 34 elements
Defined: | locally at 3 locations
rtc |
Namespace: | http://www.w3.org/1999/xhtml
Type: | xhtml.rtc.type
Content: | complex, 34 elements
Defined: | locally in group xhtml.ruby.content.complex; see XML source

Complex Type Summary
xhtml.rb.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | mixed (allows character data), 34 elements
Defined: | globally; see XML source
Referenced: | by 2 locations
xhtml.rbc.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | complex, 1 element
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.rp.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | mixed (allows character data)
Defined: | globally; see XML source
Referenced: | by 2 locations
xhtml.rt.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | mixed (allows character data), 1 attribute, 34 elements
Defined: | globally; see XML source
Referenced: | by 3 locations
xhtml.rtc.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | complex, 34 elements
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.ruby.type |
Namespace: | http://www.w3.org/1999/xhtml
Content: | complex, 7 elements
Defined: | globally; see XML source
Referenced: | by 1 location

Element Group Summary
xhtml.rb.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 34 elements
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.rbc.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 1 element
Defined: | globally; see XML source
Includes: | declaration of 1 element
Referenced: | by 1 location
xhtml.rp.content |
Namespace: | http://www.w3.org/1999/xhtml
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.rt.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 34 elements
Defined: | globally; see XML source
Referenced: | by 2 locations
xhtml.rtc.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 1 element
Defined: | globally; see XML source
Includes: | declaration of 1 element
Referenced: | never
xhtml.ruby.content |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 7 elements
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.ruby.content.complex |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 2 elements
Defined: | globally; see XML source
Includes: | declarations of 2 elements
Referenced: | by 1 location
xhtml.ruby.content.simple |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 5 elements
Defined: | globally; see XML source
Includes: | declarations of 5 elements
Referenced: | by 1 location

Attribute Group Summary
xhtml.rb.attlist |
Namespace: | http://www.w3.org/1999/xhtml
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.rbc.attlist |
Namespace: | http://www.w3.org/1999/xhtml
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.rp.attlist |
Namespace: | http://www.w3.org/1999/xhtml
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.rt.attlist |
Namespace: | http://www.w3.org/1999/xhtml
Content: | 1 attribute
Defined: | globally; see XML source
Includes: | declaration of 1 attribute
Referenced: | by 1 location
xhtml.rtc.attlist |
Namespace: | http://www.w3.org/1999/xhtml
Defined: | globally; see XML source
Referenced: | by 1 location
xhtml.ruby.common.attrib |
Namespace: | http://www.w3.org/1999/xhtml
Defined: | globally; see XML source
Referenced: | by 6 locations

XML Source
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema elementFormDefault="qualified" xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd"/>
<xs:annotation>
<xs:documentation>
This is the Ruby module for XHTML
$Id: xhtml-ruby-1.xsd,v 1.7 2010/05/02 17:22:08 ahby Exp $
</xs:documentation>
<xs:documentation source="xhtml-copyright-1.xsd"/>
</xs:annotation>
<xs:annotation>
<xs:documentation>
"Ruby" are short runs of text alongside the base text, typically
used in East Asian documents to indicate pronunciation or to
provide a short annotation. The full specification for Ruby is here:
http://www.w3.org/TR/2001/REC-ruby-20010531/
This module defines "Ruby " or "complex Ruby" as described
in the specification:
http://www.w3.org/TR/2001/REC-ruby-20010531/#complex
Simple or Basic Ruby are defined in a separate module.
This module declares the elements and their attributes used to
support complex ruby annotation markup. Elements defined here
* ruby, rbc, rtc, rb, rt, rp
This module expects the document model to define the
following content models
+ InlNoRuby.mix
</xs:documentation>
<xs:documentation source="http://www.w3.org/TR/2001/REC-ruby-20010531/"/>
</xs:annotation>
<xs:group name="xhtml.ruby.content.simple">
<xs:sequence>
<xs:element name="rb" type="xhtml.rb.type"/>
<xs:choice>
<xs:element name="rt" type="xhtml.rt.type"/>
<xs:sequence>
<xs:element name="rp" type="xhtml.rp.type"/>
<xs:element name="rt" type="xhtml.rt.type"/>
<xs:element name="rp" type="xhtml.rp.type"/>
</xs:sequence>
</xs:choice>
</xs:sequence>
</xs:group>
<xs:group name="xhtml.ruby.content.complex">
<xs:sequence>
<xs:element name="rbc" type="xhtml.rbc.type"/>
<xs:element maxOccurs="2" name="rtc" type="xhtml.rtc.type"/>
</xs:sequence>
</xs:group>
<!--
add to this group any common attributes for all Ruby elements
-->
<xs:attributeGroup name="xhtml.ruby.common.attrib"/>
<xs:group name="xhtml.ruby.content">
<xs:choice>
<xs:group ref="xhtml.ruby.content.simple"/>
<xs:group ref="xhtml.ruby.content.complex"/>
</xs:choice>
</xs:group>
<xs:complexType name="xhtml.ruby.type">
<xs:group ref="xhtml.ruby.content"/>
<xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
</xs:complexType>
<!--
rbc (ruby base component) element
-->
<xs:attributeGroup name="xhtml.rbc.attlist">
<xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
</xs:attributeGroup>
<xs:group name="xhtml.rbc.content">
<xs:sequence>
<xs:element name="rb" type="xhtml.rb.type"/>
</xs:sequence>
</xs:group>
<xs:complexType name="xhtml.rbc.type">
<xs:group ref="xhtml.rbc.content"/>
<xs:attributeGroup ref="xhtml.rbc.attlist"/>
</xs:complexType>
<!--
rtc (ruby text component) element
-->
<xs:attributeGroup name="xhtml.rtc.attlist">
<xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
</xs:attributeGroup>
<xs:group name="xhtml.rtc.content">
<xs:sequence>
<xs:element maxOccurs="unbounded" name="rt" type="xhtml.rt.type"/>
</xs:sequence>
</xs:group>
<xs:complexType name="xhtml.rtc.type">
<xs:group ref="xhtml.rt.content"/>
<xs:attributeGroup ref="xhtml.rtc.attlist"/>
</xs:complexType>
<!--
rb (ruby base) element
-->
<xs:attributeGroup name="xhtml.rb.attlist">
<xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
</xs:attributeGroup>
<xs:group name="xhtml.rb.content">
<xs:sequence>
<xs:group maxOccurs="unbounded" minOccurs="0" ref="xhtml.InlNoRuby.mix"/>
</xs:sequence>
</xs:group>
<xs:complexType mixed="true" name="xhtml.rb.type">
<xs:group ref="xhtml.rb.content"/>
<xs:attributeGroup ref="xhtml.rb.attlist"/>
</xs:complexType>
<!--
rt (ruby text) element
-->
<xs:attributeGroup name="xhtml.rt.attlist">
<xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
<xs:attribute default="1" name="rbspan" type="xh11d:Number"/>
</xs:attributeGroup>
<xs:group name="xhtml.rt.content">
<xs:sequence>
<xs:group maxOccurs="unbounded" minOccurs="0" ref="xhtml.InlNoRuby.mix"/>
</xs:sequence>
</xs:group>
<xs:complexType mixed="true" name="xhtml.rt.type">
<xs:group ref="xhtml.rt.content"/>
<xs:attributeGroup ref="xhtml.rt.attlist"/>
</xs:complexType>
<!-- rp (ruby parenthesis) element -->
<xs:attributeGroup name="xhtml.rp.attlist">
<xs:attributeGroup ref="xhtml.ruby.common.attrib"/>
</xs:attributeGroup>
<xs:group name="xhtml.rp.content">
<xs:sequence/>
</xs:group>
<xs:complexType mixed="true" name="xhtml.rp.type">
<xs:group ref="xhtml.rp.content"/>
<xs:attributeGroup ref="xhtml.rp.attlist"/>
</xs:complexType>
</xs:schema>

Overview All Components NS-Bindings | FRAMES NO FRAMES | SEARCH |

XML schema documentation generated with FlexDoc/XML 1.15 using FlexDoc/XML XSDDoc 3.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.