Change StyledText tag name from 'text' to 'choice'.

svn: r10652
This commit is contained in:
Zsolt Foldvari 2008-04-29 10:08:05 +00:00
parent 5181e073e9
commit a3904b9973
2 changed files with 12 additions and 2 deletions

View File

@ -328,7 +328,8 @@ NOTES
<!ELEMENT tag (range+)> <!ELEMENT tag (range+)>
<!ATTLIST tag <!ATTLIST tag
name CDATA #REQUIRED name (bold|italic|underline|fontface|fontsize|
fontcolor|highlight|superscript) #REQUIRED
value CDATA #IMPLIED value CDATA #IMPLIED
> >

View File

@ -493,7 +493,16 @@
<define name="styledtext"> <define name="styledtext">
<element name="text"><text/></element> <element name="text"><text/></element>
<zeroOrMore><element name="tag"> <zeroOrMore><element name="tag">
<attribute name="name"><text/></attribute> <attribute name="name"><choice>
<value>bold</value>
<value>italic</value>
<value>underline</value>
<value>fontface</value>
<value>fontsize</value>
<value>fontcolor</value>
<value>highlight</value>
<value>superscript</value>
</choice></attribute>
<optional><attribute name="value"><text/></attribute></optional> <optional><attribute name="value"><text/></attribute></optional>
<oneOrMore><element name="range"> <oneOrMore><element name="range">
<attribute name="start"><data type="int"/></attribute> <attribute name="start"><data type="int"/></attribute>