XMLout takes a hashref argument not a hash - you don't need to dereference the HASHREF you have.
/J\
In reply to Re: Problem with XMLout by gellyfish in thread Problem with XMLout by Scarborough