Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGetattributename and value of an Xml Node... Pin
siva45514-Jun-09 21:32
siva45514-Jun-09 21:32 
AnswerRe: Getattributename and value of an Xml Node... Pin
Cedric Moonen14-Jun-09 21:36
Cedric Moonen14-Jun-09 21:36 
GeneralRe: Getattributename and value of an Xml Node... Pin
siva45514-Jun-09 21:39
siva45514-Jun-09 21:39 
GeneralRe: Getattributename and value of an Xml Node... Pin
«_Superman_»14-Jun-09 22:25
professional«_Superman_»14-Jun-09 22:25 
GeneralRe: Getattributename and value of an Xml Node... Pin
siva45514-Jun-09 22:32
siva45514-Jun-09 22:32 
GeneralRe: Getattributename and value of an Xml Node... Pin
«_Superman_»14-Jun-09 22:41
professional«_Superman_»14-Jun-09 22:41 
GeneralRe: Getattributename and value of an Xml Node... Pin
Stuart Dootson14-Jun-09 23:22
professionalStuart Dootson14-Jun-09 23:22 
QuestionMerge Xml [modified] Pin
p_196014-Jun-09 20:40
p_196014-Jun-09 20:40 
Hi,
Is there any standard way to merge xml files(like XPATH or XSL) instead of we parsing each Xml file check for the nodes and attributes and inserting the same if not present...

it is getting too difficult to parse each Xml file for nodes and attributes...

For example i have an A.xml
<Test>
<sample value="34" value1="56">
</sample>
<sample1 value="25">
</sample1>
</Test>

and B.xml
<Test>
<sample value="34">
</sample>
</Test>

i need to merge the above A.xml file to B.xml ie finally

B.xml should look like

<Test>
<sample value="34" value1="56">
</sample>
<sample1 value="25">
</sample1>
</Test>

im able to achieve to add nodes which are not present in the B.xml but i was unable to add the extra attributes which are present in A.xml to B.Xml ,im able to add whole node at a time along with attributes but not able to add the extra attributes.. (using MSXML)
ie im able to achieve B.xml as follows..

<Test>
<sample value="34">
</sample>
<sample1 value="25">
</sample1>
</Test>


Please help me regarding the same

modified on Monday, June 15, 2009 2:56 AM

AnswerRe: Merge Xml Pin
Stuart Dootson14-Jun-09 23:29
professionalStuart Dootson14-Jun-09 23:29 
QuestionMultiple Inheritance doubt Pin
chirag_chauhan14-Jun-09 20:26
chirag_chauhan14-Jun-09 20:26 
AnswerRe: Multiple Inheritance doubt Pin
Mahesh Kulkarni14-Jun-09 20:55
Mahesh Kulkarni14-Jun-09 20:55 
AnswerRe: Multiple Inheritance doubt Pin
Cedric Moonen14-Jun-09 20:58
Cedric Moonen14-Jun-09 20:58 
GeneralRe: Multiple Inheritance doubt Pin
chirag_chauhan14-Jun-09 23:03
chirag_chauhan14-Jun-09 23:03 
Questiontext search Pin
ali kanju14-Jun-09 19:59
ali kanju14-Jun-09 19:59 
AnswerRe: text search Pin
Mahesh Kulkarni14-Jun-09 20:18
Mahesh Kulkarni14-Jun-09 20:18 
GeneralRe: text search Pin
ali kanju14-Jun-09 20:27
ali kanju14-Jun-09 20:27 
GeneralRe: text search Pin
Cedric Moonen14-Jun-09 21:08
Cedric Moonen14-Jun-09 21:08 
AnswerRe: text search Pin
_AnsHUMAN_ 14-Jun-09 20:25
_AnsHUMAN_ 14-Jun-09 20:25 
AnswerRe: text search Pin
«_Superman_»14-Jun-09 21:59
professional«_Superman_»14-Jun-09 21:59 
AnswerRe: text search Pin
David Crow15-Jun-09 2:55
David Crow15-Jun-09 2:55 
QuestionHow can change product original exe name ? Pin
Le@rner14-Jun-09 19:57
Le@rner14-Jun-09 19:57 
AnswerRe: How can change product original exe name ? Pin
Mahesh Kulkarni14-Jun-09 20:14
Mahesh Kulkarni14-Jun-09 20:14 
GeneralRe: How can change product original exe name ? Pin
Le@rner14-Jun-09 20:22
Le@rner14-Jun-09 20:22 
Questionread video stream from IP address assign to Avtech 4 channel MPEG4 DVR using C, C++, MFC Pin
kunal.tawde14-Jun-09 19:49
kunal.tawde14-Jun-09 19:49 
Questionfont problem Pin
trioum14-Jun-09 19:48
trioum14-Jun-09 19:48 

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.