Hello,

I've got problems removing a certain element from a schema.

I tried the following code and an item seems to be removed from the schema but 
it is not the correct one. So I'm wondering if it is a bug or am I doing 
something wrong here?

XmlSchemaObjectTable elements = schema.getElements();
XmlSchemaObject wrongElement = elements.getItem(elementName);
schema.getItems().remove(wrongElement);

thanks
ronny
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Reply via email to