Project

Profile

Help

Bug #5782 » simple.xsd

Rene Schulze, 2023-01-02 15:16

 
<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema
targetNamespace="http://example.net/datatypes/simple"
elementFormDefault="qualified" attributeFormDefault="unqualified"
version="1"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>

<xsd:simpleType name="Example">
<xsd:annotation>
<xsd:documentation>some documentation</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xs:string">
<xsd:whiteSpace value="collapse"/>
<xsd:length value="20"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
(2-2/2)