File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
XML and Related Technologies
Editing XML files
Joined: Dec 10, 2007
Sep 12, 2008 23:01:00
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.
Joined: Mar 22, 2005
Sep 12, 2008 23:21:00
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.
Joined: Oct 12, 2001
Sep 12, 2008 23:25:00
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
It is sorta covered in the
JavaRanch Style Guide
subject: Editing XML files
Generating Class Files from an XML Doc
creating a file with user details in reccord format
Application Design change, design question.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015