Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create barebones XSD from loaded data #32

Open
RemiArbache opened this issue Nov 17, 2021 · 0 comments
Open

Create barebones XSD from loaded data #32

RemiArbache opened this issue Nov 17, 2021 · 0 comments

Comments

@RemiArbache
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant