I am using Eclipse Modeling Tools
Version: Juno Service Release 2
Build id: 20130225-0426
for programming in Java
so, I would like to create new XML file
as illustrated in the following link:
http://www.tutorialspoint.com/eclipse/eclipse_create_xml_file.htm
but this option not exist as you can see in the following figure.Why? I wonder if I missed something?
Yes, well, as you may be aware, there are several different eclipse packages/configuration, each specifically tailored to a specific purpose. And as you can see here, not all of them contain the same features out of the box - apparently in your case, the "Modelling Tools" package does not contain the "XML Editors and Tools" plugin, so the features included in it (e.g., creating xml files) are not available. They can be easily added though, like so:
I downloaded the Juno SR2 "Modelling Tools" package for this, so it should be the same for you.