xml header read only

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Im using XML script to change dbconnections form one live server to another:

<?xml version="1.0" encoding="utf-8"?><br/>
<!-- List Connections --><br/>
<DBConnections><br/>
<Connection name="homeownerConnection" serverOnly="0 <br/>
<Server>blue100</Server><br/>
<Database>Home</Database><br/>
</Connection><br/>
<Connection name="newListConnection" serverOnly="0
I open the file with MS Visual Studio 2005 and occasionally enter the heading with the space, which makes the script to fail.
Is there any way Id change heading <?xml version="1.0" encoding="utf-8"?> attribute to read only to make it non-editable?
Thanks in advance,
Nik

<br/>





View the full article
 
Back
Top