summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/rtfx.xsd18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/rtfx.xsd b/doc/rtfx.xsd
index 42f9bd2..2efbe90 100644
--- a/doc/rtfx.xsd
+++ b/doc/rtfx.xsd
@@ -367,6 +367,7 @@
<xs:element ref="font"/>
<xs:element ref="span"/>
<xs:element ref="highlight"/>
+ <xs:element ref="link"/>
</xs:choice>
</xs:group>
@@ -518,4 +519,21 @@
</xs:complexType>
</xs:element>
+ <xs:element name="link">
+ <xs:annotation>
+ <xs:documentation>A hyperlink.</xs:documentation>
+ </xs:annotation>
+
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="inline"/>
+ </xs:choice>
+ <xs:attribute name="href" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation>The URI that the hyperlink points to.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+
</xs:schema>