summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/rtfx.xsd18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/rtfx.xsd b/doc/rtfx.xsd
index 922b0a6..a0a209d 100644
--- a/doc/rtfx.xsd
+++ b/doc/rtfx.xsd
@@ -365,6 +365,7 @@
<xs:element ref="sub"/>
<xs:element ref="ref"/>
<xs:element ref="font"/>
+ <xs:element ref="span"/>
</xs:choice>
</xs:group>
@@ -482,5 +483,22 @@
</xs:complexType>
</xs:element>
+ <xs:element name="span">
+ <xs:annotation>
+ <xs:documentation>A portion of content with a given style, or attributes.</xs:documentation>
+ </xs:annotation>
+
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="inline"/>
+ </xs:choice>
+ <xs:attribute name="style" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>Style name for the content.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ </xs:complexType>
+ </xs:element>
</xs:schema>