http://www.eclipse.org/XSD is an open-source Java library which allows your
program to read, create, or alter W3C XML Schemas, and attempts to model
accurately every concept found in the W3C XML Schema language. It is
usable by tools that do not run in the Eclipse IDE, although it pre-reqs
about 3 other JAR files which provide underlying support (e.g. EMF
runtime).
Bob
"Jeff Greif"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
nceton.edu> cc:
Subject: Re: Sample code to
"introspect" schemas?
06/18/2003 04:42
PM
Please respond to
xerces-j-user
See http://xml.apache.org/xerces2-j/faq-grammars.html#faq-5 for traversing
XML Schema grammars, and the docs for the XSModel and related classes.
Remember to set the parser configuration to use PSVI DOM implementation.
This stuff should do the right thing for schemas that <include> others.
There is another tool associated with the Eclipse development environment
project, but I don't have a reference.
Jeff
----- Original Message -----
From: "Thomas Cox" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 1:31 PM
Subject: RE: Sample code to "introspect" schemas?
Karl,
Have you gotten any answers on this?
I have the same problem - my requirements are to be able to introspect
(love
that word choice, BTW) a collection of 30+ nested schemata and display them
in a single tree, with a separate pane displaying the properties of the
selected entity.
BTW, can anyone point me to the documentation for the features and
properties supported by XMLGrammarPreparser? Hoping there will be something
there to help me out...
Right now we're stuck at 2.2.1, and I can't see any nested items. The good
news is that I can move up to the latest available that will ship by 4Q
2003
for this feature.
Thanks,
Thomas Cox
> -----Original Message-----
> From: Karl Mueller [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 04, 2003 1:32 PM
> To: [EMAIL PROTECTED]
> Subject: Sample code to "introspect" schemas?
>
>
> Hi,
>
> This has already been proffered but I just checked the
> archives and they are not available.
>
> Does anyone know where I can get some code sample to
> "introspect" schemas? I need to introspect a schema in order
> for me to generate a correct XML document from it.
>
> Briefly, I'm trying to introspect a schema (which is really
> composed of a number of files (i.e., via includes)) and I'm
> able to get the global elements, attributes etc. but I'm
> unsure how go from there? That is how do I build the contents
> of a complex type or element which itself might be composed
> of child complex types etc?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]