Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Code completion
Code completion [message #586451] Fri, 30 April 2004 16:19
Ondrej Rohlik is currently offline Ondrej RohlikFriend
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
Previous Topic:Schema diagnostics
Next Topic:Code completion
Goto Forum:
  


Current Time: Fri Apr 26 09:52:14 GMT 2024

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

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

Back to the top