Skip to content

Instantly share code, notes, and snippets.

@stefangoor
Created April 30, 2015 23:00
Show Gist options
  • Save stefangoor/ffe7e29fad3e20c2698a to your computer and use it in GitHub Desktop.
Save stefangoor/ffe7e29fad3e20c2698a to your computer and use it in GitHub Desktop.
An XSLT file to create an empty package.xml from an existing package.xml file
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:sf="http://soap.sforce.com/2006/04/metadata" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="node() | @*">
<xsl:copy>
<xsl:apply-templates select="node() | @*"/>
</xsl:copy>
</xsl:template>
<xsl:template match="/sf:Package/sf:types"/>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment