XML and HTML export configuration file

You can't script inside $loop() function.
There's 2 workarounds (since v2.35a) for the album artist issue ATM:
Copy all ARTIST tags to BAND and for compilations do BAND=VA and use $loop(%band%)
or if you have a foler structure like
artist\album*.mp3
$loop(%_parent_directory%) can be used