blob: 894096a9307bfda3fc4bd8e9d5c52c041225e39f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
<xsl:output method="text"/>
<xsl:param name="type"/>
<xsl:param name="parentId"/>
<xsl:template match="configItem">
<xsl:if test="name(..) = $type and ../../../configItem/name = $parentId">
<xsl:value-of select="./name"/>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
|