Skip to content

Create barebones XSD from loaded data #32

@RemiArbache

Description

@RemiArbache

It would be nice to be able to create barebones xsd files from the tags loaded in the workspace.
I work with Java-class defining XSD where the tags are polluted and dispersed and look like this :

<xs:complexType name="Foo">
    <xs:annotation>
        <xs:documentation></xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="Bar" type="Bar" minOccurs="1" maxOccurs="10">
        <xs:annotation>
            <xs:documentation></xs:documentation>
        </xs:annotation>
        </xs:element>
    </xs:sequence>
    <xs:attribute name="schemaVersion" use="required" fixed="1.0"/>
</xs:complexType>

And I would like to generate an XSD file that looks like this:

<Foo>
    <Bar>
    </Bar>
</Foo>

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions