diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-06-09 11:30:46 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-06-09 13:47:53 -0500 |
commit | 56105916271ff9a7c0bfa237b45b9b3fab9c570b (patch) | |
tree | 828aff9543e541b42ed45198e6bd3e0aa065c137 /src/test/burn/TestData/Manual/BundleB/ba.xslt | |
parent | d47c73dbcd0a314cf3346b9b1294063ed4a124c4 (diff) | |
download | wix-56105916271ff9a7c0bfa237b45b9b3fab9c570b.tar.gz wix-56105916271ff9a7c0bfa237b45b9b3fab9c570b.tar.bz2 wix-56105916271ff9a7c0bfa237b45b9b3fab9c570b.zip |
Fix building and perf for bundles with 1000s of package and BA payloads
Fixes other half of #5300
Diffstat (limited to 'src/test/burn/TestData/Manual/BundleB/ba.xslt')
-rw-r--r-- | src/test/burn/TestData/Manual/BundleB/ba.xslt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/test/burn/TestData/Manual/BundleB/ba.xslt b/src/test/burn/TestData/Manual/BundleB/ba.xslt new file mode 100644 index 00000000..54bc7fe6 --- /dev/null +++ b/src/test/burn/TestData/Manual/BundleB/ba.xslt | |||
@@ -0,0 +1,21 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
3 | xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl" | ||
4 | xmlns:wix="http://wixtoolset.org/schemas/v4/wxs" | ||
5 | > | ||
6 | <xsl:output method="xml" indent="yes"/> | ||
7 | |||
8 | <xsl:template match="@* | node()"> | ||
9 | <xsl:copy> | ||
10 | <xsl:apply-templates select="@* | node()"/> | ||
11 | </xsl:copy> | ||
12 | </xsl:template> | ||
13 | |||
14 | <xsl:template match="wix:Payload" > | ||
15 | <xsl:copy> | ||
16 | <xsl:apply-templates select="@* | node()"/> | ||
17 | <xsl:attribute name="Id">ba_<xsl:value-of select="substring(@SourceFile, 11)" /></xsl:attribute> | ||
18 | <xsl:attribute name="SourceFile">BAPayloads<xsl:value-of select="substring(@SourceFile, 10)" /></xsl:attribute> | ||
19 | </xsl:copy> | ||
20 | </xsl:template> | ||
21 | </xsl:stylesheet> | ||