How do you launch or install the Eclipse XSD editor?
According to this it seems it should work out-of-the-box. I created the XMLExamples
project and when I open Catalogue.xsd
Eclipse treats it as a text file. If I choose Open With > Other...
there's no XSD editor on the list.
I'm using Eclipse Indigo (3.7) on Mac OS X Lion.
To edit a fileSelect the Use XML editor to view and edit the underlying XML Schema file link on the Start View. The XML editor appears with the new file open. Copy the XML Schema sample code from Purchase order schema and paste it to replace the code that was added to the new XSD file by default.
An XSD file stores its contents as plain text in XML format, which means the files can be opened and viewed by any text editor and numerous other programs. However, if you want to edit an XSD file, you should use an XML editor, such as Microsoft XML Notepad, Bare Bones BBEdit, or SyncRO Soft oXygen XML Editor.
Apparently the XSD editor wasn't included in my package (Eclipse IDE for Java Developers). I added it using:
Help > Install New Software...
Work with (enter your Eclipse version, here Photon):
Photon - http://download.eclipse.org/releases/photon
Filter by "XML" - as "XSD" wouldn't return the XSD editor (eventually untick "Hide items that are already installed" in case it's already installed):
Web, XML, Java EE and OSGi Enterprise Development
And then:
Eclipse XML Editors and Tools
Example with Photon:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With