Python library that takes as input a complex XSD and outputs the an XML - Stack Overflow

I know my question is not crystal clear but i'd like to find a robust and reliable python library

I know my question is not crystal clear but i'd like to find a robust and reliable python library that is taking as input a complex Xml Schema Definition file and produces the an XML file. For example i have this XSD:

    <xsd:schema xmlns:stf="urn" xmlns:xsd="; targetNamespace="urn" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
        <!-- Kind of Name -->
        <xsd:simpleType name="NameType_EnumType">
            <xsd:restriction base="xsd:string">
                <xsd:enumeration value="OECD201"/>
                <xsd:enumeration value="OECD202"/>
                <xsd:enumeration value="OECD203"/>
                <xsd:enumeration value="OECD204"/>
                <xsd:enumeration value="OECD205"/>
                <xsd:enumeration value="OECD206"/>
                <xsd:enumeration value="OECD207"/>
                <xsd:enumeration value="OECD208"/>
            </xsd:restriction>
        </xsd:simpleType>
    <!-- -->
</xsd:schema>

How can with this XSD as input produce an XML? The data will be populated from a table. Most likely, they will be spark dataframes

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745353123a4623956.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信