当我们创建一个 xml 文件时,实现 xsd 文件的行在哪里?
when we create an xml file, where is the line that implements the xsd file?
我是 xml 的新手,我有一个问题:
当我们创建一个 xml 文件时,实现 xsd 文件的行在哪里?
我的意思是我们如何获得对 XML 架构的引用,我不明白
xml 中没有一行定义 xml 模式在我本地计算机中的位置 ?
<?xml version="1.0"?>
<note
xmlns="https://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.w3schools.com/xml/note.xsd">
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
您的本地计算机上不存在该架构。它存在于 https://www.w3schools.com/xml/note.xsd.
我是 xml 的新手,我有一个问题: 当我们创建一个 xml 文件时,实现 xsd 文件的行在哪里? 我的意思是我们如何获得对 XML 架构的引用,我不明白 xml 中没有一行定义 xml 模式在我本地计算机中的位置 ?
<?xml version="1.0"?>
<note
xmlns="https://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.w3schools.com/xml/note.xsd">
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
您的本地计算机上不存在该架构。它存在于 https://www.w3schools.com/xml/note.xsd.