File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Editing XML files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Editing XML files" Watch "Editing XML files" New topic
Author

Editing XML files

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
When I double click on XML file, it opens up , but I can not edit it. Tag names are in red color and variables are in black color. What kind of format is this ?

While same file if I open in word format, I can edit it and all tag names and variables are in black color.

Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41182
    
  45
What application is opening the file? If it's a browser then you won't be able to edit; use a proper text editor instead.


Ping & DNS - my free Android networking tools app
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

If you double click on a XML file, it normally open up in a browser - because this is the default application for a XML file.

If you want to be able to double click and it open up in a text editor, you should change the XML file type's default application to a text editor of choice.

You can also right click on the XML file and choose another application to open the XML in.

I don't know the OS you are working on, so I can't give you the specific guide line to how to do change the file type application link.


Regards, Rene Larsen
Dropbox Invite
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Editing XML files
 
Similar Threads
XML ENCODING
Generating Class Files from an XML Doc
SVG Components
creating a file with user details in reccord format
Application Design change, design question.