Created
October 26, 2011 20:04
-
-
Save rockarts/1317638 to your computer and use it in GitHub Desktop.
XSLT Filtering of Output from the Wix Harvest.exe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"> | |
<xsl:output method="xml" indent="yes" /> | |
<xsl:template match="@*|node()"> | |
<xsl:copy> | |
<xsl:apply-templates select="@*|node()"/> | |
</xsl:copy> | |
</xsl:template> | |
<xsl:key name="service-search" match="wix:Component[contains(wix:File/@Source, '.exe')]" use="@Id" /> | |
<xsl:template match="wix:Component[key('service-search', @Id)]" /> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment