XSLT

XSL. EXtensible Stylesheet Language or XML Style Sheets.

XSLT. XSL Transforms.

First. An Identity transform to copy the XML as it is.

Next - Node / Attribute Overrides.

Select=”@*” > All attributes.

Select=”node()” > All Nodes.

Select=”@*|node()” > Combine - All attribute + All Nodes.

<xsl:template match='wix:Wix/wix:Fragment/wix:ComponentGroup/wix:Component'>
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates <xsl:attribute name="KeyPath">
<xsl:text>no</xsl:text>
<xsl:attribute </xsl:attribute>
</xsl:attribute> <xsl:apply-templates select="node()"/>
<xsl:copy> </xsl:copy>
<xsl:template </xsl:template>
  1. Copy Attributes.
  1. Add / Override Attribute.
  1. Copy All Nodes.
Updated: 2026 Aug 19