---
title: "compareXMLFiles"
canonical: "https://help.vicon.com/space/ShogunPost121/1253737707/compareXMLFiles"
format: markdown
---
# Description

Compares two xml files.

Differences are reported in the log.

## Functional area

Testing

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `compareXMLFiles "file1" "file2"` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `file1, file2` | string | true | The names of the files to compare. |

### Flags

None

## Return value

Boolean