diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rtfx.xsd | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/rtfx.xsd b/doc/rtfx.xsd index a0a209d..42f9bd2 100644 --- a/doc/rtfx.xsd +++ b/doc/rtfx.xsd @@ -366,6 +366,7 @@ <xs:element ref="ref"/> <xs:element ref="font"/> <xs:element ref="span"/> + <xs:element ref="highlight"/> </xs:choice> </xs:group> @@ -497,8 +498,24 @@ <xs:documentation>Style name for the content.</xs:documentation> </xs:annotation> </xs:attribute> - </xs:complexType> </xs:element> + <xs:element name="highlight"> + <xs:annotation> + <xs:documentation>Highlighted text</xs:documentation> + </xs:annotation> + + <xs:complexType mixed="true"> + <xs:choice minOccurs="0" maxOccurs="unbounded"> + <xs:group ref="inline"/> + </xs:choice> + <xs:attribute name="color" type="xs:string" use="optional"> + <xs:annotation> + <xs:documentation>The color of the highlight</xs:documentation> + </xs:annotation> + </xs:attribute> + </xs:complexType> + </xs:element> + </xs:schema> |