Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » finding elements or attributes based on Types
finding elements or attributes based on Types [message #583013] Wed, 21 January 2004 16:16
mike is currently offline mikeFriend
Messages: 35
Registered: July 2009
I'm trying to find out how to retrieve every elements or attributes that
are based on a global simpleTypeDefinition. I've tried with
findElementsUsingType but with no luck ;-(
For exemple, I'd like something that'd tell me that the simpleType
'atacharacType' is used in 'titi' (and others ...). 'titi' being an
attribute or an element.

<xs:simpleType name="atacharacType">
<xs:restriction base="xs:string">
<xs:pattern value="\d\d(-\d\d(-\d\d)?)?"/>

<xs:element name="ata">
<xs:element name="titi" type="atacharacType" maxOccurs="unbounded">
<xs:documentation>bla bla bla</xs:documentation>


Previous Topic:Creating XSDAnnotations
Next Topic:Creating XSDAnnotations
Goto Forum:

Current Time: Tue Aug 04 01:32:33 GMT 2020

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

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

Back to the top