Advertisement

06.15.2008 at 10:26AM PDT, ID: 23486386
[x]
Attachment Details

I have to compare the content of two XML files. Is there a way to use a VBS to do that?

Asked by llarava in VB Script

I have to compare the contect of two XML files every day.

Is there a way to do that comparision running a schedule VBS script? The script will need to compare the files and report the differences on a txt log file.

The XML files have the same format.

Attached there is a sample of the file contect. The file will be compare with another file that has the same set up but can have some mininal differences. This differences need to be reported on a txt log file.
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
- <abc>
- <administration>
- <accessControl>
- <administrators>
  <administrator id="domain\USers" type="group" /> 
  <administrator id="domain\usera" type="user" /> 
  <administrator id="domain\userb" type="user" /> 
  </administrators>
  </accessControl>
  </administration>
- <authenticationObjects>
- <windowsDomain>
- <object id="\\domain\GROUP1" type="group" description="granting access for management" maxConnections="-1" authenticationProfile="">
  <checkListAttributes /> 
  <returnListAttributes /> 
  </object>
- <object id="\\domain\GROUP2" type="group" description="" maxConnections="-1" authenticationProfile="TEST PROFILE">
  <checkListAttributes /> 
  <returnListAttributes /> 
  </object>
- <object id="\\domain\GROUP3" type="group" description="" maxConnections="-1" authenticationProfile="">
- <checkListAttributes>
  <attribute name="IP-Address" type="ipAddress" multivalued="true" order="0" default="false" value="10.20.1.1" /> 
  <attribute name="IP-Address" type="ipAddress" multivalued="true" order="0" default="false" value="10.20.1.2" /> 
  </checkListAttributes>
- <returnListAttributes>
  <attribute name="Framed-Protocol" type="int4" namedAttributeValue="PPP" multivalued="false" order="0" echo="false" value="1" /> 
  <attribute name="Service-Type" type="int4" namedAttributeValue="Framed" multivalued="false" order="0" echo="false" value="2" /> 
  </returnListAttributes>
  </object>
- <object id="\\domain\GROUP1" type="group" description="" maxConnections="-1" authenticationProfile="">
- <checkListAttributes>
  <attribute name="IP-Address" type="ipAddress" multivalued="true" order="0" default="false" value="10.20.1.1" /> 
  <attribute name="IP-Address" type="ipAddress" multivalued="true" order="0" default="false" value="10.20.1.1" /> 
  <attribute name="IP-Address" type="ipAddress" multivalued="true" order="0" default="false" value="10.20.1.1" /> 
  <attribute name="IP-Address" type="ipAddress" multivalued="true" order="0" default="false" value="10.20.1.1" /> 
  </checkListAttributes>
  <returnListAttributes /> 
  </object>
- <object id="\\domain\GROUP2" type="group" description="" maxConnections="-1" authenticationProfile="">
- <checkListAttributes>
  <attribute name="IP-Address" type="ipAddress" multivalued="true" order="0" default="false" value="10.20.1.1" /> 
  <attribute name="IP-Address" type="ipAddress" multivalued="true" order="0" default="false" value="10.20.1.1" /> 
  <attribute name="IP-Address" type="ipAddress" multivalued="true" order="0" default="false" value="10.20.1.1" /> 
  </checkListAttributes>
  <returnListAttributes /> 
  </object>
  </windowsDomain>
  </authenticationObjects>
- <authenticationProfiles>
- <authenticationProfile id="TEST PROFILE" description="">
- <checkListAttributes>
  <attribute name="Calling-Station-Id" type="string" multivalued="true" order="0" default="false" value="00028aac6081" /> 
  <attribute name="Calling-Station-Id" type="string" multivalued="true" order="0" default="false" value="00028aea6ad1" /> 
  <attribute name="Calling-Station-Id" type="string" multivalued="true" order="0" default="false" value="0013ce872661" /> 
  <attribute name="Calling-Station-Id" type="string" multivalued="true" order="0" default="false" value="001F3b7dda32" /> 
  <attribute name="Calling-Station-Id" type="string" multivalued="true" order="0" default="false" value="001b774d0221" /> 
  <attribute name="Calling-Station-Id" type="string" multivalued="true" order="0" default="false" value="001de075eb52" /> 
  <attribute name="Calling-Station-Id" type="string" multivalued="true" order="0" default="false" value="001f3b7f0311" />
 
Loading Advertisement...
 
[+][-]06.15.2008 at 06:09PM PDT, ID: 21790316

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.16.2008 at 06:35AM PDT, ID: 21793405

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.18.2008 at 08:05PM PDT, ID: 21818920

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 08:14PM PDT, ID: 21828184

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 08:27PM PDT, ID: 21828233

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 08:38PM PDT, ID: 21828269

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.19.2008 at 08:53PM PDT, ID: 21828320

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 06:46AM PDT, ID: 21831123

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.22.2008 at 01:28AM PDT, ID: 21840049

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: VB Script
Sign Up Now!
Solution Provided By: RobSampson
Participating Experts: 1
Solution Grade: B
 
 
[+][-]07.24.2008 at 08:01PM PDT, ID: 22085684

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.29.2008 at 07:01PM PDT, ID: 22117078

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628