this has nothing to do with separate files or not.
when you use variables, your variables need to have unique names, so, either you rename your second String xml; (and also in all the places you refer to this one, or you remove this line, since String xml already exists.
stultuske
Industrious Poster
4,382 posts since Jan 2007
Reputation Points: 1,318
Solved Threads: 610
Skill Endorsements: 24