wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Changing xmlns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Changing xmlns" Watch "Changing xmlns" New topic
Author

Changing xmlns

Grishma Dube
Ranch Hand

Joined: Jul 01, 2003
Posts: 275
Hi,

I am new to XML and have a basic question.
I have one xml file where the xmlns:com="http://xyz.com/com/core/common"
and I want to change is to xmlns:com="http://abc.com/com/core/common".

Can I just go ahead and change the xml namespace in that xml or i will have to change anyother files which will be affecting due to this change.

TIA
Grishma
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Impossible to say. There may be programs that are looking for the old namespace, and changing the file to use the new namespace would cause those programs to act differently.
 
wood burning stoves
 
subject: Changing xmlns
 
Similar Threads
xPath and namespace problem
Common Architectures (for those who have cleared)
how to know if has validation errors on jsp
Get namespace of root element
XSL transformation