Any way to flatten a namespace or easily access attribute/lement type definitions
Posted on 2003-11-11
What I want do do is to create a simple paramater maintenance interface, with input validation, based on type definitions held in XML Schemas. The shemas themselves rely heavily on namespaces following the venetial blind model of structure.
I would like to be able to access type definitons of the namespaces in order drive the validation at the user interface. I will overlay a parameter schema on the underlying types to drive generic validation or to invoke taglib style processes.
I don't want to have to parse the XML unless I have no choice. Is there any kind of tool that will provide intorspection on a an XSD.
If I do have to parse the XML, is there any tool that will flatten a namespace so that at least I don't have to deal with multiple namespaces, extension, redefinition, etc etc.
I dont't really see jaxb or xsd.exe as being much help unless I am missing something?
More points for good answers
Oops - just found apache xerces. Has anyone used this to query a schema in order to validate input?