The closest I got was something like this,

DOMImplementationAS domImpl = (DOMImplementationAS)DOMImplementationImpl.getDOMImplementation();
DOMASBuilder parser = domImpl.createDOMASBuilder();
ASModel asmodel = parser.parseASURI("http://test1/testxsd/BookStore1.xsd";);
ASNamedObjectMap elems = asmodel.getElementDeclarations();


but got "Not Supported" exceptions when I tried to access stuff on the ASModel. Looked at
the source, and saw that none of that is implemented in 2.0.1....
Any help?? Please? :-)



From: Paul Truda <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: parsing and analysing schemas in 2.0.1
Date: Mon, 22 Mar 2004 21:26:59 -0800
MIME-Version: 1.0
Received: from mail.apache.org ([208.185.179.12]) by mc2-f11.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Mon, 22 Mar 2004 02:19:31 -0800
Received: (qmail 26458 invoked by uid 500); 22 Mar 2004 10:19:14 -0000
Received: (qmail 26444 invoked from network); 22 Mar 2004 10:19:13 -0000
Received: from unknown (HELO mail4.tpgi.com.au) (203.12.160.61) by daedalus.apache.org with SMTP; 22 Mar 2004 10:19:13 -0000
Received: from tpg.com.au (203-219-71-146-nsw.tpgi.com.au [203.219.71.146])(authenticated bits=0)by mail4.tpgi.com.au (8.12.10/8.12.10) with ESMTP id i2MAJP81015961for <[EMAIL PROTECTED]>; Mon, 22 Mar 2004 21:19:25 +1100
X-Message-Info: JGTYoYF78jHKEV/7QRo+dA5sMcyLxiYB
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
list-help: <mailto:[EMAIL PROTECTED]>
list-unsubscribe: <mailto:[EMAIL PROTECTED]>
list-post: <mailto:[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
References: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
X-TPG-Antivirus: Passed
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 22 Mar 2004 10:19:31.0601 (UTC) FILETIME=[2A67F010:01C40FF7]


I'm glad that there is at least ONE person as confussed and frustrated as I am!! :)) Sorry I cannot help. It all seems such a lot of effort, just to read a flat file doesn't it??

Kind regards
Paul Truda

amit shetty wrote:

Hey folks, I have tried a lot, searched a lot, and I am not able to figure out how to do this. Would
really appreciate it if you guys could help me on this.
I need to load an XSD and go through its contents for my project. I am also restricted to version 2.0.1 of xerces. Any help on this would be really appreciated!
Thanks in advance!
Amit


_________________________________________________________________
Find a broadband plan that fits. Great local deals on high-speed Internet access. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




-- From Paul Truda Bistra/CCCP/Trudata please reply to [EMAIL PROTECTED] phone 02 9403 1400 fax 02 9403 1447 web www.bistra.com.au



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Free up your inbox with MSN Hotmail Extra Storage. Multiple plans available. http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to