📄 localinfo.xsd
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!-- This XML Schema describes xml documents containing weather information of a location, based on zipcode.
xml schema document weather.xsd is imported. Global element localInfo is a container element
for weather information.
-->
<xsd:schema targetNamespace="http://www.localInfo.com/LI" xmlns="http://www.localInfo.com/LI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"
xmlns:ns1 = "http://www.helloWeather.com/weather">
<xsd:import namespace="http://www.helloWeather.com/weather" schemaLocation="weather.xsd"/>
<xsd:element name="localInfo">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="ns1:localWeather"/>
</xsd:sequence>
<xsd:attribute ref="Zipcode"/>
</xsd:complexType>
</xsd:element>
<xsd:attribute name="Zipcode" type="xsd:string"/>
</xsd:schema>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -