2
熱で収穫したファイルをxsltファイルでフィルタリングしてpdbファイルをフィルタリングしようとしました。しかし、pdbファイルはまだそこにあります。私は何が欠けていますか?ここでは、ファイルは次のとおりです。xsltはpdbファイルをフィルタリングしません
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
xmlns:wi="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="pdf-search1" match="wi:Component[contains(wi:File/@Source='$(var.StageDirXFire)', '.pdf')]" use="@Id"/>
<xsl:template match="wi:Component[key('pdf-search1', @Id)]"/>
<xsl:template match="wi:ComponentRef[key('pdf-search1', @Id)]"/>
</xsl:stylesheet>