pass workingdirectory config item to generateXml

bug fix; oops!