File: include-case2.xsd

package info (click to toggle)
python-xmlschema 4.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,208 kB
  • sloc: python: 39,174; xml: 1,282; makefile: 36
file content (18 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="utf-8"?>
<!--
  A valid include of a chameleon schema using an explicit declaration of the default namespace.
  In this case the chameleon schema uses another prefix for the same target namespace.
  -->
<xs:schema
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns="http://example.com/xmlschema/namespaces"
  targetNamespace="http://example.com/xmlschema/namespaces"
  elementFormDefault="qualified">

  <xs:include schemaLocation="chameleon2.xsd"/>

  <xs:simpleType name="rootType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>

</xs:schema>