Change StyledText tag name from 'text' to 'choice'.
svn: r10652
This commit is contained in:
parent
5181e073e9
commit
a3904b9973
@ -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
|
||||||
>
|
>
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user