XML Bugfix

Signed-off-by: David Anderson <dave@veodesign.co.uk>