<?xml?version="1.0"?encoding="UTF-8"?>
<person?xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.example.org/1"
xsi:schemaLocation="http://www.example.org/1??1.xsd">
??<name>zhangsan</name>
??<age>20</age>
</person>
這個(gè)第二行會有錯(cuò)誤,為什么呀<?xml version="1.0" encoding="UTF-8"?><schema xmlns="http://www.w3.org/2001/XMLSchema"?targetNamespace="http://www.example.org/1"?elementFormDefault="qualified">? ? <element name="person">? ? ? ? ?<complexType>? ? ? ? ? ? ? <sequence>? ? ? ? ? ? ? ? ? ?<element name="name" type="string"></element>? ? ? ? ? ? ? ? ? ?<element name="age" type="int"></element>? ? ? ? ? ? ? </sequence>? ? ? ? ?</complexType>? ? </element></schema>schema代碼在這 有什么問題嗎,求大神指導(dǎo)
- 1 回答
- 0 關(guān)注
- 1235 瀏覽
添加回答
舉報(bào)
0/150
提交
取消