File tree 1 file changed +6
-6
lines changed
form-builder/jvm/src/main/resources/forms/orbeon/builder/service
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 46
46
<!-- TODO: what if missing? -->
47
47
<xsl : copy-of select =" $metadata" />
48
48
49
- <!-- Copy all the scripts and bindings -->
50
- <xsl : for-each select =" $resources/xbl:xbl/xbl:binding[exists(fb:metadata)]" >
51
- <xsl : copy >
52
- <xsl : apply-templates select =" @* | fb:metadata" />
53
- </xsl : copy >
54
- </xsl : for-each >
49
+ <!-- Process bindings with metadata -->
50
+ <xsl : apply-templates select =" $resources/xbl:xbl/xbl:binding[exists(fb:metadata)]" />
55
51
</xbl : xbl >
56
52
</xsl : if >
57
53
106
102
<xsl : apply-templates select =" node()" />
107
103
</xsl : copy >
108
104
</xsl : template >
105
+
106
+ <!-- Filter out unneeded elements -->
107
+ <xsl : template match =" xbl:resources | xbl:handlers | xbl:implementation | xbl:template" />
108
+
109
109
</xsl : transform >
You can’t perform that action at this time.
0 commit comments