Line 76 Print "<text>" & XMLEscape(Cstr(value)) & "</text>"
can be replace by something like this.
If Isarray ( value ) Then<br/>
' code to hadle array goes here<br/>
Print "<text>" <br/>
Forall arrayvalue In value<br/>
Print XMLEscape(Cstr(arrayvalue)) <br/>
End Forall <br/>
Print "</text>"<br/>
Else<br/>
Print "<text>" & XMLEscape(Cstr(value)) & "</text>"<br/>
End If <br/>
This issue is in all versions.