-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcopyInitialCharacter.xsl
45 lines (37 loc) · 1.1 KB
/
copyInitialCharacter.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
<?xml version='1.0' encoding='UTF-8' ?>
<xsl:transform version='1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
xmlns:dcc='http://dragondreams.ch/democap/character'
exclude-result-prefixes='dcc'>
<xsl:output method='xml' encoding='UTF-8'/>
<!-- skip calibration tags -->
<xsl:template match="inputDevice">
<inputDevice/>
</xsl:template>
<xsl:template match="calibrated">
<calibrated/>
</xsl:template>
<xsl:template match="transfers">
<transfers/>
</xsl:template>
<!--
<xsl:template match="reachScalingArmRight">
<reachScalingArmRight x='1' y='1' z='1'/>
</xsl:template>
<xsl:template match="reachScalingArmRightBack">
<reachScalingArmRightBack x='1' y='1' z='1'/>
</xsl:template>
<xsl:template match="reachScalingArmLeft">
<reachScalingArmLeft x='1' y='1' z='1'/>
</xsl:template>
<xsl:template match="reachScalingArmLeftBack">
<reachScalingArmLeftBack x='1' y='1' z='1'/>
</xsl:template>
-->
<!-- copy all tags and attributes -->
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:transform>