Is there any way to query a schema element to find out its declaring namespace? Also how do you set your namespace declarations when creating a new XmlDocument? While the declarations are in the schema they don't seem to be available through any of the XmlBeans objects. I would like to set my namespaces by getting them out of the schema rather than hard coding them into the code.
Eric Murphy