请教下各位大侠,sequence中定义的元素,在XML中可以多次出现吗,
例如:
我定义的
<xs:element name="HTTP">
<xs:complexType>
<xs:sequence>
<xs:element ref="IP"/>
<xs:element ref="PP"/>
<xs:element minOccurs="0" ref="Credentials"/>
</xs:sequence>
</xs:complexType>
</xs:element>XML里如果多个IP配置可以吗??? 求解答
<?xml version="1.0" encoding="UTF-8"?> <!-- IP addresses to the port 43 service -->
<Port43>
<IP>192.0.2.1</IP>
<IP>192.0.2.1</IP>
<pp>2001:D8::1</pp>
</Port43>
<HTTP>
<IP>192.0.2.2</IP>
<pp>2001:DB8::2pp>
xmlserviceencodingcredentials
例如:
我定义的
<xs:element name="HTTP">
<xs:complexType>
<xs:sequence>
<xs:element ref="IP"/>
<xs:element ref="PP"/>
<xs:element minOccurs="0" ref="Credentials"/>
</xs:sequence>
</xs:complexType>
</xs:element>XML里如果多个IP配置可以吗??? 求解答
<?xml version="1.0" encoding="UTF-8"?> <!-- IP addresses to the port 43 service -->
<Port43>
<IP>192.0.2.1</IP>
<IP>192.0.2.1</IP>
<pp>2001:D8::1</pp>
</Port43>
<HTTP>
<IP>192.0.2.2</IP>
<pp>2001:DB8::2pp>
xmlserviceencodingcredentials
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货