Skip to main content



      Home
Home » Archived » XML Schema Definition (XSD) » Code completion
Code completion [message #586451] Fri, 30 April 2004 12:19
Eclipse UserFriend
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: Sun Jul 06 03:26:32 EDT 2025

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

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

Back to the top