Code completion [message #586451] |
Fri, 30 April 2004 16:19 |
Ondrej Rohlik Messages: 13 Registered: July 2009 |
Junior Member |
|
|
Hello everyone!
Could anyone ensure me that I have chosen the right tool (plugin) for my
purpose?
What I need is to query my XSD to get a list of elements that can be added
as subelements of some particular element. I search for a method that takes
a set of subelements of "theElement" in my XML document, checks it according
to the XSD ("theSchema") and returns a list of elements that can be added as
subelements of "theElement" without violating the XSD. It could be used e.g.
in code completion tool. The method could be something like this:
org.eclipse.emf.common.util.Elist
getLegalSubelementsAccordingToMyXmlSchema(org.w3c.dom.Elemen t theElement,
XSDSchema theSchema);
The question is whether this functionality is offered be the XML Schema
Infoset Model. I didn't succeed to find it out.
Thanks a lot!
Ondrej
|
|
|
Powered by
FUDForum. Page generated in 0.03192 seconds