是什么意思

时间:2022-05-03 22:31:04

Could anyone please explain what the following line in my xsd mean ?

有谁能请解释我的xsd中的以下行是什么意思?

<xsd:include schemaLocation="Some_schema.xsd" />

How is it used ? The XSD is pretty large so i cant paste it here. Can anyone please give a simple example using the following that explains how two schemas can be integrated ?

怎么用? XSD非常大,所以我不能粘贴在这里。任何人都可以用一个简单的例子来解释如何集成两个模式?

 <xsd:include schemaLocation="Some_schema.xsd" />

1 个解决方案

#1


1  

It's pretty much the same as "include" in any programming language: it means, treat the contents of the schema document at "someSchema.xsd" as if they were part of this schema document. The detailed semantics are more subtle, but that's the simple explanation.

它与任何编程语言中的“include”几乎相同:它意味着,将“someSchema.xsd”中的模式文档的内容视为该模式文档的一部分。详细的语义更加细微,但这是简单的解释。

#1


1  

It's pretty much the same as "include" in any programming language: it means, treat the contents of the schema document at "someSchema.xsd" as if they were part of this schema document. The detailed semantics are more subtle, but that's the simple explanation.

它与任何编程语言中的“include”几乎相同:它意味着,将“someSchema.xsd”中的模式文档的内容视为该模式文档的一部分。详细的语义更加细微,但这是简单的解释。