Question in a nutshell:
How do i get the elements (elementDecl objects) within a ComplexType if i dont know their names?
 
I am trying to navigate a schema document in my application using castor. (my first stint with castor)
I can get the top level elements by doing schema.getElementDecls() and get the complex type by doing getComplexType()
But lets say there are a couple of element declarations in the complex type. how do i get those elements??
ComplexType has got getElementDecl( name ) but no getElementDecls(). How do i get the elementDecl objects within the complex types if i dont know their names?
 
Thanks,
amol

Reply via email to