Project

Profile

Help

Bug #2573 » a.xsl

Sample XSL - Vinit Varghese, 2016-01-07 01:07

 
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp "&#160;">
<!ENTITY lsaquo "&#8249;">
<!ENTITY rsaquo "&#8250;">
<!ENTITY laquo "&#171;">
<!ENTITY raquo "&#187;">
<!ENTITY copy "&#169;">
]>
<xsl:stylesheet version="3.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xsl xs">
<xsl:output method="html" encoding="UTF-8" version="5.0"/>
<xsl:strip-space elements="*"/>
<xsl:template match="/document">
<xsl:apply-templates mode="copy"/>
</xsl:template>
<xsl:template match="table[@class='vv']" mode="copy">
<div class="row">
<xsl:for-each-group select="tr" group-by="td[1]/text()">
<xsl:sort/>
test
</xsl:for-each-group>
</div>
</xsl:template>
</xsl:stylesheet>
(2-2/2)