A
Alain R.
Hi,
I have the following XML file :
<?xml version='1.0' encoding='UTF-8'?>
<Database>
<ConnectionString Type="PostgreSQL v8.2.x">
<DBName>c2st</DBName>
<Host>127.0.0.1</Host>
<Port>5432</Port>
<Username>user</Username>
<Password>pwd</Password>
</ConnectionString>
<ConnectionString Type="MySQL v4.x">
<DBName>dbtest</DBName>
<Host>127.0.0.1</Host>
<Port>5432</Port>
<Username>myuser</Username>
<Password>mypwd</Password>
</ConnectionString>
</Database>
How can i update only 1 particular node of this XML file without
browsing the whole nodes ?
for example, i would like to change <Port> innerXML value (5432) to 1258
for MySQL v4.x connection string.
All methods i've read till now are browsing the whole nodes and this i
would like to avoid as much as possible.
thanks a lot,
Alain
I have the following XML file :
<?xml version='1.0' encoding='UTF-8'?>
<Database>
<ConnectionString Type="PostgreSQL v8.2.x">
<DBName>c2st</DBName>
<Host>127.0.0.1</Host>
<Port>5432</Port>
<Username>user</Username>
<Password>pwd</Password>
</ConnectionString>
<ConnectionString Type="MySQL v4.x">
<DBName>dbtest</DBName>
<Host>127.0.0.1</Host>
<Port>5432</Port>
<Username>myuser</Username>
<Password>mypwd</Password>
</ConnectionString>
</Database>
How can i update only 1 particular node of this XML file without
browsing the whole nodes ?
for example, i would like to change <Port> innerXML value (5432) to 1258
for MySQL v4.x connection string.
All methods i've read till now are browsing the whole nodes and this i
would like to avoid as much as possible.
thanks a lot,
Alain