By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,417 Members | 1,192 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,417 IT Pros & Developers. It's quick & easy.

how to check xml data present or not

P: 8
I have xml file:
<?xml version="1.0"?>
-<doc title="test">
-<Employee>
<keyName>Amol </keyName>
<Keyvalue>22</Keyvalue>
</Employee>
</doc>

next time when I run the application and enter keyname John and keyvalue 25 then I want to update my xml file like
I have xml file:
<?xml version="1.0"?>
-<doc title="test">
-<Employee>
<keyName>Amol </keyName>
<Keyvalue>22</Keyvalue>
</Employee>
-<Employee>
<keyName>John </keyName>
<Keyvalue>25</Keyvalue>
</Employee>
</doc>
It is in vb6.0
now everything is clear so
please help me its argent
Feb 12 '13 #1
Share this Question
Share on Google+
14 Replies


Dormilich
Expert Mod 5K+
P: 8,639
that solely depends on the programme used.

of course, you could just look at the code with your eyes to check for it ... *gg*
Feb 12 '13 #2

P: 8
bad answer I am not expecting this from the site
Feb 13 '13 #3

Dormilich
Expert Mod 5K+
P: 8,639
so ... my answer is bad because you give me nothing at all to figure out the problem?

obviously you do not honour the effort someone takes voluntarily doing that kind of work.
Feb 13 '13 #4

P: 8
now the problem is clear so tell me the solution
Feb 14 '13 #5

Dormilich
Expert Mod 5K+
P: 8,639
why?

nothing is clear.
Feb 14 '13 #6

P: 8
I have xml file:
<?xml version="1.0"?>
-<doc title="test">
-<Employee>
<keyName>Amol </keyName>
<Keyvalue>22</Keyvalue>
</Employee>
</doc>

Amol and 22 are values taken from texboxes
vext time when I run rue application and enter John and 25 in texbox then want my xml file like following
<?xml version="1.0"?>
-<doc title="test">
-<Employee>
<keyName>Amol </keyName>
<Keyvalue>22</Keyvalue>
</Employee>
-<Employee>
<keyName>John </keyName>
<Keyvalue>25</Keyvalue>
</Employee>
My application is in vb6.0
now all is clear please help me its very argent


</doc>
Feb 14 '13 #7

Dormilich
Expert Mod 5K+
P: 8,639
moved to VB forum.
Feb 14 '13 #8

P: 8
please tell me clearly what to do
Feb 14 '13 #9

Dormilich
Expert Mod 5K+
P: 8,639
I’m not a VB expert.
Feb 14 '13 #10

P: 8
ok thank you Dormilich for your valuable time
Feb 14 '13 #11

Rabbit
Expert Mod 10K+
P: 12,382
In VB6, you can use the MSXML class to read and process XML files. Here is Microsoft's documentation on that class: http://msdn.microsoft.com/en-us/libr...=VS.85%29.aspx
Feb 14 '13 #12

P: 8
Rabbit I want the code please its argent
Feb 15 '13 #13

Dormilich
Expert Mod 5K+
P: 8,639
@Amol: we are not a free code writing service.
Feb 15 '13 #14

P: 8
Ok Dormilich thank you very much
Feb 15 '13 #15

Post your reply

Sign in to post your reply or Sign up for a free account.