1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:include schemaLocation="urn:magento:framework:View/Layout/etc/elements.xsd"/>
- <xs:include schemaLocation="urn:magento:framework:View/Layout/etc/head.xsd"/>
- <xs:include schemaLocation="urn:magento:framework:View/Layout/etc/body.xsd"/>
- <xs:include schemaLocation="urn:magento:framework:View/Layout/etc/html.xsd"/>
- <xs:element name="layout">
- <xs:annotation>
- <xs:documentation>
- Handle id must be unique.
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="handle" minOccurs="1" maxOccurs="1"/>
- </xs:sequence>
- </xs:complexType>
- <xs:key name="handleName">
- <xs:selector xpath="handle"/>
- <xs:field xpath="@id"/>
- </xs:key>
- </xs:element>
- <xs:element name="handle" type="handleType" />
- <xs:complexType name="layoutType">
- <xs:annotation>
- <xs:documentation>
- Layout Type definition
- </xs:documentation>
- </xs:annotation>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element ref="referenceContainer" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="container" type="containerType" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="update" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="remove" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="move" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="block" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element ref="referenceBlock" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="body" type="bodyType" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="head" type="headType" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="html" type="htmlType" minOccurs="0" maxOccurs="unbounded"/>
- </xs:choice>
- </xs:complexType>
- <xs:complexType name="handleType">
- <xs:annotation>
- <xs:documentation>
- Handle Type definition
- </xs:documentation>
- </xs:annotation>
- <xs:complexContent>
- <xs:extension base="layoutType">
- <xs:attribute type="elementNameType" name="id" use="required"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="const">
- <xs:complexContent>
- <xs:extension base="argumentType" />
- </xs:complexContent>
- </xs:complexType>
- </xs:schema>
|