Liquid XML Data Binder 2021
Liquid XML Data Binder (C++, Java, VB6) / Examples / Simple Choice / XSD Files / Simple Choice.xsd
In This Topic
    Simple Choice.xsd
    In This Topic
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
        <xs:element name="AccountAdminRequest">
            <xs:complexType>
                <xs:choice>
                    <xs:element name="CreateAccount">
                        <xs:complexType>
                            <xs:simpleContent>
                                <xs:extension base="xs:string">
                                    <xs:attribute name="Username" type="xs:string" use="required"/>
                                    <xs:attribute name="Password" type="xs:string" use="required"/>
                                </xs:extension>
                            </xs:simpleContent>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="DeleteAccount">
                        <xs:complexType>
                            <xs:simpleContent>
                                <xs:extension base="xs:string">
                                    <xs:attribute name="Username" type="xs:string" use="required"/>
                                </xs:extension>
                            </xs:simpleContent>
                        </xs:complexType>
                    </xs:element>
                    <xs:element name="ChangeAccountPassword">
                        <xs:complexType>
                            <xs:simpleContent>
                                <xs:extension base="xs:date">
                                    <xs:attribute name="Username" type="xs:string" use="required"/>
                                    <xs:attribute name="OldPassword" type="xs:string" use="required"/>
                                    <xs:attribute name="NewPassword" type="xs:string" use="required"/>
                                </xs:extension>
                            </xs:simpleContent>
                        </xs:complexType>
                    </xs:element>
                </xs:choice>
            </xs:complexType>
        </xs:element>
    </xs:schema>