Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » getContent
getContent [message #594948] Tue, 26 April 2005 10:32
Alex is currently offline AlexFriend
Messages: 65
Registered: July 2009

I 've got a little problem.
I want to extract the simple type includes in the <xs:attribute>.

I manage to extract the name and the use of the attribute like this :

XSDAttributeUse attribute = (XSDAttributeUse) attributeList.get(i);
XSDAttributeUseCategory attUse = attribute.getUse();
String nameAttribut = attribute.getAttributeDeclaration().getName();

Here is my code :

<xs:attribute name="Etat" use="required">
<xs:restriction base="xs:string">
<xs:enumeration value="Connu"/>
<xs:enumeration value="Inconnu"/>

I think using the function attribute.getContent(); But I can't extract the
can somebody help me?
Previous Topic:getValue getEffectiveValue
Next Topic:Type derivation results in duplicate particles
Goto Forum:

Current Time: Sun Feb 28 01:16:51 GMT 2021

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

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

Back to the top