|
#1
|
|||
|
|||
|
Delete InnerText including its node.
hey all.
I have this code <albume1> <file>Mortal.mp3</file> <file>Seek.mp3</file> </album2> and need function which is written in C#.NET to do these things gets name of file as parameter/ void RemoveLine(string name) { searchs in albume1 the name lets take for example "Seek.mp3" found one delete the whole line <file>Seek.mp3</file> } so the final result/save of XML file would be : <albume1> <file>Mortal.mp3</file> </album2> I tried with InnerText attribute but InnerText takes whole Textes which appear among the two tags <file></file> thanks. |
|
#2
|
||||
|
||||
|
Do these help?
http://www.databasejournal.com/featu...erver-2008.htm http://www.c-sharpcorner.com/article...ubsectionid=79 http://www.codeproject.com/KB/cpp/XMLReadWrite.aspx
__________________
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section. ![]() Please use [Code]your code goes in here[/Code] tags when posting code. Before posting your question, did you look here? Got a question on Linux? Visit our Linux sister site. Modifications Required For VB6 Apps To Work On Vista ![]() Microsoft MVP 2005/2006/2007/2008/2009 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| doubly linked lists | noobie_coder | C++ | 4 | 10-04-2008 04:35 AM |
| about deletenode for BT !!!! | M O H R A | Java | 1 | 04-29-2006 10:02 AM |
| help reg creating ms access file | vbcoder | VB Classic | 9 | 04-28-2005 01:36 PM |
| EMERGENT.... double linked list | mary | Java | 0 | 07-20-2001 09:42 AM |
| How to delete a node | Manish Gupta | XML | 0 | 06-09-2000 09:45 AM |