Sha256: d3b93b328e29dd65f3a892c1d54b59dae9c4f8a61b86a52ad2e2666f4d6c30c1

Contents?: true

Size: 788 Bytes

Versions: 499

Compression:

Stored size: 788 Bytes

Contents

<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:param name="title"/>

<xsl:template match="/">
  <html>
  <body>
    <h1><xsl:value-of select="$title"/></h1>
    <table border="1">
    <tr bgcolor="#9acd32">
      <th align="left">Employee ID</th>
      <th align="left">Name</th>
      <th align="left">Position</th>
      <th align="left">Salary</th>
    </tr>
    <xsl:for-each select="staff/employee">
    <tr>
      <td><xsl:value-of select="employeeId"/></td>
      <td><xsl:value-of select="name"/></td>
      <td><xsl:value-of select="position"/></td>
      <td><xsl:value-of select="salary"/></td>
    </tr>
    </xsl:for-each>
    </table>
  </body>
  </html>
</xsl:template>

</xsl:stylesheet>

Version data entries

499 entries across 489 versions & 44 rubygems

Version Path
tdiary-5.0.6 vendor/bundle/gems/nokogiri-1.8.1/test/files/staff.xslt
nokogiri-1.8.1 test/files/staff.xslt
nokogiri-1.8.1-x86-mingw32 test/files/staff.xslt
nokogiri-1.8.1-x64-mingw32 test/files/staff.xslt
nokogiri-1.8.1-java test/files/staff.xslt
tdiary-5.0.5 vendor/bundle/gems/nokogiri-1.8.0/test/files/staff.xslt
tdiary-5.0.5 vendor/bundle/gems/nokogiri-1.7.1/test/files/staff.xslt
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/nokogiri-1.7.1/test/files/staff.xslt
nokogiri-1.8.0 test/files/staff.xslt
nokogiri-1.8.0-x86-mingw32 test/files/staff.xslt
nokogiri-1.8.0-x64-mingw32 test/files/staff.xslt
nokogiri-1.8.0-java test/files/staff.xslt
nokogiri-1.7.2 test/files/staff.xslt
nokogiri-1.7.2-x86-mingw32 test/files/staff.xslt
nokogiri-1.7.2-x64-mingw32 test/files/staff.xslt
nokogiri-1.7.2-java test/files/staff.xslt
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/nokogiri-1.7.1/test/files/staff.xslt
tdiary-5.0.4 vendor/bundle/gems/nokogiri-1.7.1/test/files/staff.xslt
nokogiri-1.7.1 test/files/staff.xslt
nokogiri-1.7.1-x86-mingw32 test/files/staff.xslt