element to hold text in GMF [message #45548] |
Tue, 12 September 2006 02:33 |
Eclipse User |
|
|
|
Hi,
I have a xsd file which has an element log of type logtype. The log
element contains some text which is reflected in xsd by mixed attribute
which is set to true.
The XSD file looks like this
<rootnode>
<xsd:element name="log" type="logType"></xsd:element>
<xsd:complexType name="logType" mixed="true">
<xsd:sequence>
<xsd:element ref="value" maxOccurs="unbounded" minOccurs="1"></xsd:element>
</xsd:sequence>
<xsd:attribute ref="label" />
</xsd:complexType>
</rootnode>
Example of this xsd is :
<rootnode><log> This is text that needs to be handled</log></rootnode>
In the GMF model when I am associating a label with the logtype in the
gmfmap file then I am getting the mixed attribute also along with other
attributes. Could you please suggest how to handle the text in the GMF
model. What kind of modifications i have to do in the .gmgraph,.gmfmap and
gmftool files so that i can handle the text.
Please Suggest
Thanks and regards
Balraj
|
|
|
Powered by
FUDForum. Page generated in 0.66865 seconds