Hi,
I have the following XML file :
<?xml version='1.0' encoding='UTF-8'?>
<Database>
<ConnectionStri ng Type="PostgreSQ L v8.2.x">
<DBName>c2st</DBName>
<Host>127.0.0.1 </Host>
<Port>5432</Port>
<Username>use r</Username>
<Password>pwd </Password>
</ConnectionStrin g>
<ConnectionStri ng Type="MySQL v4.x">
<DBName>dbtes t</DBName>
<Host>127.0.0.1 </Host>
<Port>5432</Port>
<Username>myuse r</Username>
<Password>mypwd </Password>
</ConnectionStrin g>
</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 <PortinnerXML 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>
<ConnectionStri ng Type="PostgreSQ L v8.2.x">
<DBName>c2st</DBName>
<Host>127.0.0.1 </Host>
<Port>5432</Port>
<Username>use r</Username>
<Password>pwd </Password>
</ConnectionStrin g>
<ConnectionStri ng Type="MySQL v4.x">
<DBName>dbtes t</DBName>
<Host>127.0.0.1 </Host>
<Port>5432</Port>
<Username>myuse r</Username>
<Password>mypwd </Password>
</ConnectionStrin g>
</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 <PortinnerXML 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
Comment