xslt how to add attributes to copy-of
xsl:copy-of performs a deep copy of the selected node, but doesn’t provide an opportunity to alter it. You will want to use xsl:copy and then add additional nodes inside. xsl:copy just copies the node and namespace attributes, but not the regular attributes and child nodes, so you will want to ensure that you apply-templates to … Read more