Results 1 to 2 of 2

Thread: BC4 xml compare

  1. #1
    Join Date
    Jun 2016
    Posts
    1

    Default BC4 xml compare

    Hello,

    I am quiet new to BC.
    Is it poissible to write a script that compares XML files. I have an Folder with nearly 100 XML files and a list with the pairs of XML files I hvae to copare.
    Is that possible and if it poiisble how it is possible?

    Thanks!

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    Hello,

    Yes, although all scripting mirrors actions you take in the interface. It is best to test your workflow in the interface first, and once that is working as you expect we can then help with the script necessary to repeat those steps in an automated script.

    If you load our Folder Compare session with two folders, side by side, we'll align all files in the same folder structure and file name. The Folder Compare can be set to run a Rules-based scan in the Session menu -> Session Settings, Comparison tab. Leave Timestamp, Size, and Override enabled. Also enable Rules-based content scanning.

    This will scan the folder. You can double click any aligned pair of XML files to review the comparison. We can then generate a report that is a list of file names (Folder Compare Report) or the differences within files (File Compare Report). Which style would you prefer?
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •