copy-of() acts as a deep copy. So when you use copy-of(), it copies everything. If you want to customize your output, then you should use different template rules.
You can also copy all text in xml file except some elements or attributes, etc.
------
Rummy
|