Click here to Skip to main content
15,914,160 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionAdd audio??? Please help Pin
ToneeLawrence29-May-06 6:53
ToneeLawrence29-May-06 6:53 
QuestionUnique ID Pin
NaNg1524128-May-06 9:34
NaNg1524128-May-06 9:34 
AnswerRe: Unique ID Pin
Stephan Samuel1-Jun-06 9:17
Stephan Samuel1-Jun-06 9:17 
GeneralRe: Unique ID Pin
NaNg152411-Jun-06 9:28
NaNg152411-Jun-06 9:28 
GeneralRe: Unique ID Pin
Stephan Samuel2-Jun-06 7:44
Stephan Samuel2-Jun-06 7:44 
QuestionExtract Xml elements, displays in DataGridView and enables editing [modified] Pin
sepsep0627-May-06 5:41
sepsep0627-May-06 5:41 
AnswerRe: Extract Xml elements, displays in DataGridView and enables editing Pin
led mike30-May-06 10:47
led mike30-May-06 10:47 
GeneralRe: Extract Xml elements, displays in DataGridView and enables editing [modified] Pin
sepsep061-Jun-06 7:43
sepsep061-Jun-06 7:43 
Hello,

Many thanks for you reply Smile | :) I managed to display the extracted element (addresses) in DataGridView (binded to dataset that contains <ADDRESSES>) fine, but could not figure out a way to update the original xml file if the dataGrid is updated.

For example, I have the following in "addressTry.xml" :

<MEMBER>
<GENDER>FEMALE</GENDER>
<AGE>35</AGE>
- <ADDRESSES>
- <ADDRESS>
<ID>1</ID>
<STREET>cranbrook ave</STREET>
<POSTCODE>1231231</POSTCODE>
<CITY>NOTTINGHAM</CITY>
<COUNTRY>UK</COUNTRY>
</ADDRESS>
</ADDRESSES>


when user changes CITY to LONDON, the DataSet is updated. But I could not use DataSet.WriteXml(...) or XmlDataDocument.Save(..) to update original file as this will overwrite the whole xml file. i.e : the <MEMBER>,<GENDER>,<AGE> and their child elements will be deleted, replaced by only <ADDRESSES> elements from dataset.

So how could I update this to the original file (so only <ADDRESSES> element is affected, and <MEMBER>, <GENDER> and <AGE> stay the same?)

Many thanks for advice and suggestions,

Shar





-- modified at 13:44 Thursday 1st June, 2006
GeneralRe: Extract Xml elements, displays in DataGridView and enables editing Pin
led mike1-Jun-06 7:58
led mike1-Jun-06 7:58 
GeneralRe: Extract Xml elements, displays in DataGridView and enables editing [modified] Pin
sepsep061-Jun-06 14:32
sepsep061-Jun-06 14:32 
QuestionYet another special character problem Pin
Arrun26-May-06 13:12
Arrun26-May-06 13:12 
AnswerRe: Yet another special character problem [modified] Pin
George L. Jackson26-May-06 17:35
George L. Jackson26-May-06 17:35 
GeneralRe: Yet another special character problem [modified] Pin
Arrun27-May-06 1:13
Arrun27-May-06 1:13 
GeneralRe: Yet another special character problem [modified] Pin
George L. Jackson27-May-06 6:59
George L. Jackson27-May-06 6:59 
QuestionProblem Writing & URGENT PLS HELP Pin
Arrun26-May-06 9:48
Arrun26-May-06 9:48 
AnswerRe: Problem Writing & URGENT PLS HELP Pin
George L. Jackson26-May-06 17:37
George L. Jackson26-May-06 17:37 
QuestionHelp me for the use of AJAX in ASP Pin
Jesal Rana25-May-06 22:39
Jesal Rana25-May-06 22:39 
QuestionCode Generator that writes code to generate and XML doc structure? [modified] Pin
Josh Blair25-May-06 6:59
Josh Blair25-May-06 6:59 
AnswerRe: Code Generator that writes code to generate and XML doc structure? [modified] Pin
led mike25-May-06 7:07
led mike25-May-06 7:07 
GeneralRe: Code Generator that writes code to generate and XML doc structure? [modified] Pin
Josh Blair25-May-06 7:19
Josh Blair25-May-06 7:19 
GeneralRe: Code Generator that writes code to generate and XML doc structure? [modified] Pin
led mike25-May-06 19:54
led mike25-May-06 19:54 
GeneralRe: Code Generator that writes code to generate and XML doc structure? [modified] Pin
Josh Blair26-May-06 6:51
Josh Blair26-May-06 6:51 
GeneralRe: Code Generator that writes code to generate and XML doc structure? [modified] Pin
led mike26-May-06 7:04
led mike26-May-06 7:04 
GeneralRe: Code Generator that writes code to generate and XML doc structure? [modified] Pin
Josh Blair26-May-06 7:42
Josh Blair26-May-06 7:42 
GeneralRe: Code Generator that writes code to generate and XML doc structure? [modified] Pin
Josh Blair26-May-06 8:21
Josh Blair26-May-06 8:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.