No arrays, but you can use node-sets in a similar way:
var $array-interfaces := {
<interface> "xe-1/0/0";
<interface> "so-0/0/0";
}
for-each( $array-interfaces/interface ) {
<output> "Name is " _ .;
}
You can even reference them using [1], [2], etc (counting starts at 1):
var $first-interface = $array-interfaces/interface[1];
But be careful using a variable as the index value because it might be stored as a string value, even if it has numeric content, so always cast it to a number just in case:
var $interface = $array-interfaces/interface[ number( $index ) ];