To establish any greater detail about the types in the schema you would need to use a full schema parsing API such as the one recently contributed to Axis or the one in eclipse.
Could you please tell me more (even references) about these two?
Owen
Thank you, Xserty
