xsd-parser 1.5.2

Rust code generator for XML schema files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://example.com"
    targetNamespace="http://example.com"
    elementFormDefault="qualified">

    <xsd:complexType name="FooType">
        <xsd:attribute name="bar" type="xsd:string" use="required" />
    </xsd:complexType>

    <xsd:element name="Foo" type="tns:FooType" />
</xsd:schema>