Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Load XML Schema from File and extract Types
Load XML Schema from File and extract Types [message #597608] Sun, 19 February 2006 11:35
Eclipse UserFriend
Originally posted by:

Hello to all !
it is the first time that I write here......

I am developing a EditorXml that it allows to validate an XML file xml
based on the XML Schema contained in a file .xsd !

I'm interested for being able to give some suggestions during the writing
, I need to load the names of the SympleTag ComplexTag declared in .xsd
file .

For Example .... if I have an xsd file like this ...

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="">

<xs:simpleType name="stringtype">
<xs:restriction base="xs:string"/>

<xs:simpleType name="inttype">
<xs:restriction base="xs:positiveInteger"/>

<xs:complexType name="shiptotype">
<xs:element name="name" type="stringtype"/>
<xs:element name="address" type="inttype"/>
<xs:element name="city" type="stringtype"/>
<xs:element name="country" type="stringtype"/>


I'm interested to get for example "shiptotype" "name" "address" "city"
"country" ...... but no "stringtype" or "xs:positiveInteger"

I hope you can help me with suggestion or JavaCode ....

Sorry for my English ...
Previous Topic:Castor vs. XSD?
Next Topic:Load XML Schema from File and extract Types
Goto Forum:

Current Time: Sat Jan 16 03:57:16 GMT 2021

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

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

Back to the top