File: resources/xslt/emoji.xsl

Recommend this page to a friend!
  Classes of jawira  >  PHP Emoji Library Catalog  >  resources/xslt/emoji.xsl  >  Download  
File: resources/xslt/emoji.xsl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Emoji Library Catalog
Return Emoji characters using class constants
Author: By
Last change:
Date: 10 months ago
Size: 943 bytes


Class file image Download
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">

  <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>    /**&#10;</xsl:text>
      <xsl:text>     * </xsl:text>
      <xsl:call-template name="get-name"/>
      <xsl:text>     *&#10;</xsl:text>
      <xsl:text>     * Code point(s): </xsl:text>
      <xsl:call-template name="get-code"/>
      <xsl:text>     */&#10;</xsl:text>
      <xsl:text>    const </xsl:text>
      <xsl:call-template name="get-constant-name"/>
      <xsl:text> = "</xsl:text>
      <xsl:call-template name="get-emoji"/>


For more information send a message to info at phpclasses dot org.