Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » How to retrieve Attributes for a complex ElementDeclaration
How to retrieve Attributes for a complex ElementDeclaration [message #590758] Mon, 23 August 2004 21:51
Gary J is currently offline Gary JFriend
Messages: 61
Registered: July 2009
Member
Hi,

Given the schema fragment:

<xsd:element name="Test">
<xsd:complexType>
<xsd:choice>
<xsd:element ref="comment"></xsd:element>
<xsd:element name="choice2" type="xsd:string"></xsd:element>
</xsd:choice>
<xsd:attribute name="Attribute" type="xsd:string"></xsd:attribute>
</xsd:complexType>
</xsd:element>

From the complexType particle, getTerm() gets the "choice" ModelGroup.
Which method gets the attribute(s)?

Sorry for such a newbie question.

Thanks
Previous Topic:What about the future of XSDEdit?
Next Topic:i want to make a tree(control) from a XSD file
Goto Forum:
  


Current Time: Thu Apr 25 15:42:43 GMT 2024

Powered by FUDForum. Page generated in 0.03541 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top