-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocess_profileps.xsl
51 lines (38 loc) · 1.47 KB
/
process_profileps.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:doc="http://soap.sforce.com/2006/04/metadata">
<xsl:output omit-xml-declaration="no" indent="yes" encoding="UTF-8" method="xml" />
<xsl:strip-space elements="*"/>
<!--Identity template, provides default behavior that copies all content into the output -->
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*" />
</xsl:copy>
</xsl:template>
<!--add any section here that you want to exclude -->
<xsl:template match="doc:applicationVisibilities">
</xsl:template>
<xsl:template match="doc:classAccesses">
</xsl:template>
<xsl:template match="doc:pageAccesses">
</xsl:template>
<xsl:template match="doc:tabSettings">
</xsl:template>
<xsl:template match="doc:tabVisibilities">
</xsl:template>
<xsl:template match="doc:recordTypeVisibilities">
</xsl:template>
<xsl:template match="doc:layoutAssignments">
</xsl:template>
<xsl:template match="doc:userPermissions">
</xsl:template>
<xsl:template match="doc:fieldPermissions">
</xsl:template>
<xsl:template match="doc:userLicense">
</xsl:template>
<!--add any section here that you want to include -->
<xsl:template match="doc:objectPermissions">
<xsl:copy>
<xsl:apply-templates select="node()|@*" />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>