mirror of
https://github.com/jawira/emoji-catalog.git
synced 2023-08-10 21:12:49 +03:00
18 lines
578 B
XML
18 lines
578 B
XML
<?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" version="2.0" encoding="UTF-8" indent="no"/>
|
|
<xsl:include href="./resources/xslt/common.xsl"/>
|
|
|
|
<xsl:template match="/">
|
|
<xsl:for-each select="//table//tr[./td//img]">
|
|
<xsl:text>const </xsl:text>
|
|
<xsl:call-template name="get-constant-name"/>
|
|
<xsl:text> = "</xsl:text>
|
|
<xsl:call-template name="get-emoji"/>
|
|
<xsl:text>"; </xsl:text>
|
|
</xsl:for-each>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|