summaryrefslogtreecommitdiff
path: root/xsd-examples/cxx/tree/custom/wildcard/wildcard.xsd
blob: a19be3f354101f904cf7e7d6d2491e0cba1d3a2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0"?>

<!--

file      : cxx/tree/custom/wildcard/wildcard.xsd
copyright : not copyrighted - public domain

-->

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:wc="http://www.codesynthesis.com/wildcard"
            targetNamespace="http://www.codesynthesis.com/wildcard">

  <xsd:complexType name="data">
    <xsd:simpleContent>
      <xsd:extension base="xsd:string">
        <xsd:attribute name="id" type="xsd:unsignedInt"/>
        <xsd:anyAttribute namespace="##any" processContents="skip"/>
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType>

  <xsd:element name="data" type="wc:data"/>

</xsd:schema>