Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Talk to Webmaster
Tony John
Facebook
Google+
Twitter
LinkedIn
Online Members
baskar
More...
Join our online
Google+ community
for Bloggers, Content Writers and Webmasters
Forums
»
.NET
»
.NET
»
Modify XML file
Posted Date:
22 Mar 2007
Posted By::
prasad
Member Level:
Silver
Member Rank:
3487
Points
: 2
Responses:
1
I have xml files in certain format...
Example.
<SYSTEM>
<student Name ="Abc" RollNo="101"/>
<student Name ="pps" RollNo="102"/>
<student Name ="ppp" RollNo="103" />
</SYSTEM>
Now i want to change the tag name "student" to "Record" and also want to change the value for Name attribute. That is i want to replace "Abc" with "SSS" after chacking certain conditions. and save changes in new file with these modified attributes keeping original file intact.
So can i directly use XMLTextReader /Writer classes or StreamWriter /Reader objects?
plz tell me urgent.
Tweet
Responses
#118667 Author:
Vasudevan Deepak Kumar
Member Level:
Gold
Member Rank:
77
Date: 12/Apr/2007 Rating:
Points
: 2
You can.
----
Deepak Vasudevan
Personal Website
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Next :
Specified cast is not valid.// how to overcum this error on asp.net using vb
Previous :
asp.net2.0-calling javascript.
Return to Discussion Forum
Post New Message
Category:
Related Messages
Is there any expert to solve this?
what is difference between String and string(data type) in c#?
what is a resource file...
Horizontal Scroll Bar for a listview control
sql querry
Follow us on Twitter:
https://twitter.com/dotnetspider
Active Members
Today
srirama
(22)
Phagu Mahato
(11)
baskar
(7)
Last 7 Days
baskar
(300)
Asheej T K
(203)
srirama
(185)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
About Us
Contact Us
Copyright
Privacy Policy
Terms Of Use
Revenue Sharing sites
Advertise
Talk to
Tony John
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.