XSD genereate

This topic contains 3 replies, has 2 voices, and was last updated by Profile photo of support-swapna support-swapna 3 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #323335
    Profile photo of Frank Lawlor
    Frank Lawlor
    Participant

    I’ve been looking at using xsd to generate xml and java files.

    There are many references on the web (e.g. http://www.twm-kd.com/programming-computers/generating-sample-xml-from-xsd-or-dtd-in-eclipse/) which say that in Eclipse you can right mouse on an xsd in the navigator and there should be a generate option. My fellow developers with vanilla eclipse have this, but I don’t see this in ME10.

    I tried installing some likely plugins related to xsd and xml, but nothing helps.

    I did try creating an EMF project and within the .genmodel editor there are some generate options, but this requires a separte EMF project.

    Any idea how to get the xsd generate option?

    Thanks,
    — Frank

    #323354
    Profile photo of support-swapna
    support-swapna
    Moderator

    Frank,

    Go to Window -> Preferences -> General -> Capabilities. Click on the Advanced button. Expand “MyEclipse Standard Tools” and check the WTP Extras capability.

    This should give you the right-click “Generate > XML File…” menu item.

    Let us know how it works for you.

    #323379
    Profile photo of Frank Lawlor
    Frank Lawlor
    Participant

    worked great! Thanks.

    #323399
    Profile photo of support-swapna
    support-swapna
    Moderator

    flawlor,

    Glad that it worked.
    Let us know if you have any other issues.

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Web Development (HTML, CSS, etc.)’ is closed to new topics and replies.