XML Tutorial/XML Schema/include — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
 
м (1 версия)
 
(нет различий)

Текущая версия на 11:26, 26 мая 2010

<include> Declarations

   <source lang="xml">

<include schemaLocation="">

The <include> declaration combines XML Schemas that are designed for the same targetNamespace(or no targetNamespace). Within the <include> declaration there is no namespace attribute. The <include> declaration can be used only on documents with the same targetNamespace, or no targetNamespace. When a schema validator encounters an <include> declaration, it treats the global declarations from the included XML Schema as

 if they had been declared in the XML Schema that contains the <include> declaration.</source>