xmlns:xsi (xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance")-- indicates that the elements and data types used in the schema come from the " http://www.w3.org/2001/XMLSchema-instance " namespace. spa
It also specifies that the elements and data types that come from the " http://www.w3.org/2001/XMLSchema-instance " namespaceshould be prefixed with xsi.orm
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"xml
targetNamespace="http://www. itcast.cn"ci
elementFormDefault="qualified">element
<xs:schema>文檔
targetNamespace元素用於指定schema文檔中聲明的元素屬於哪一個名稱空間。get
schemaLocation此屬性有兩個值。第一個值是須要使用的命名空間。第二個值是供命名空間使用的XML schema 的位置,二者之間用空格分隔。it