Project

Profile

Help

Support #4199 ยป test-sef.xsl

Karl Franks, 2019-04-17 13:32

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:test="http://www.deltaxml.com/ns/testing"
exclude-result-prefixes="xs"
version="3.0">
<xsl:mode on-no-match="shallow-copy"/>
<xsl:template match="*[@test:testForThis = ('A','B','A!=B')]">
<xsl:message expand-text="true">@test:testForThis = "{@test:testForThis}"</xsl:message>
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
    (1-1/1)