XML element 可以嵌套的定义么?# XML - WWW明日之星
c*e
1 楼
比如我想定义一个condition type, child types are simpleCondition (name =
value), andCondition, orCondition, notCondition (顾名思义)
andCondition, orCondition, notCondition 的subelement可以是simplecondition,
andCondition, etc.
schema支持这样的element type吗?还是必须都是同级的element,不能nested?
value), andCondition, orCondition, notCondition (顾名思义)
andCondition, orCondition, notCondition 的subelement可以是simplecondition,
andCondition, etc.
schema支持这样的element type吗?还是必须都是同级的element,不能nested?