The mode attribute of templates will also be output.
Variable values will be traced as well as parameters.
Changed xsl:copy-of into xsl:value-of for
parameter and variable output, because copy for attribute and
namespace nodes results in a run-time error (no parent element).