I have 2 xml files which I need to merge together using a style sheet
...
You should be replace your line as below:-
with this below line one:
i think this may help you..