943,816 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Marked Solved
  • Views: 2321
  • VB.NET RSS
Jan 6th, 2009
0

replace attribute value using vb.net

Expand Post »
hi all,

I have a XML file like as shown below..

i need to replace the value of status for a particular task..can u help me how to do it..

<?xml version="1.0" encoding="utf-8"?>
<Task>
<TaskName tskName="PS0002440" Status="Open" />
<TaskName tskName="PS0002439" Status="Open" />
</Task>

in the above file..i need to change the value of "status" of the "tskName = PS0002439"

Cansomone give some idea please...
Similar Threads
Reputation Points: 18
Solved Threads: 0
Light Poster
jaiprakash15 is offline Offline
27 posts
since Nov 2008
Jan 6th, 2009
0

Re: replace attribute value using vb.net

Have a look on http://bytes.com/groups/net-xml/1789...ttribute-value
You can googlize it also, I did that
Featured Poster
Reputation Points: 480
Solved Threads: 276
Postaholic
Ramy Mahrous is offline Offline
2,189 posts
since Aug 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Append Node to XML file Using Vb.net
Next Thread in VB.NET Forum Timeline: vb.net question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC