-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests.xsl
28 lines (25 loc) · 1.01 KB
/
tests.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
<xsl:stylesheet version="1.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:a="http://slcf/templates/settings/bem-scheme/additional"
xmlns:b="http://slcf/templates/settings/bem-scheme/block"
xmlns:d="http://slcf/templates/settings/bem-scheme/data"
xmlns:e="http://slcf/templates/settings/bem-scheme/element"
xmlns:m="http://slcf/templates/settings/bem-scheme/modification"
xmlns:p="http://slcf/templates/settings/bem-scheme/pointer"
xmlns:t="http://slcf/templates/settings/bem-scheme/template"
xmlns:x="http://slcf/templates/settings/bem-scheme/xhtml"
xmlns:alxc="http://slcf/templates/settings/bem-scheme/additional-legacy-xhtml-class"
exclude-result-prefixes="a b e x d p m t alxc"
>
<xsl:template match="tests">
<tests>
<xsl:apply-templates select="test"/>
</tests>
</xsl:template>
<xsl:template match="test | test/*">
<xsl:element name="{local-name()}">
<xsl:apply-templates />
</xsl:element>
</xsl:template>
</xsl:stylesheet>