|
|
|
xs:choice + attribute
|
|||
|---|---|---|---|
|
#18+
Имею следующее <xs:complexType name="Type"> <xs:sequence minOccurs="0" maxOccurs="unbounded"> <xs:element name="type"> <xs:complexType> <xs:attribute name="1" type="xs:string"> <xs:attribute name="2" type="xs:string"/> <xs:attribute name="3" type="xs:string"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> Но мне надо чтобы вхождение в type было либо 1 либо 2 либо 3, т.е. два из них не могут быть, для элементов есть тэг choice а как быть с аттрибутами? Спасибо. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 24.09.2007, 12:27 |
|
||
|
|

start [/forum/topic.php?fid=14&fpage=58&tid=1334149]: |
0ms |
get settings: |
6ms |
get forum list: |
12ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
53ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
19ms |
get tp. blocked users: |
1ms |
| others: | 202ms |
| total: | 307ms |

| 0 / 0 |
