can xsd definition of type reference the xml file itself?
I am trying to describe a set of java classes using XML. I need to have an xsd document as robost as possible, so it saves me headaches later on. Suppose I have a class node inside which I have a set or properties. Each property have a type attribute, the value of this attribute could be a class name in the xml document, or a set of primitive names like "integer" "float" etc.
Can this scenario be def开发者_Python百科ined in a xsd document?
thanks a bunch.
It can be achieved with ref/refid and key in the xsd.
精彩评论