Sha256: f400968ba48038dc0bb5252f2429b396a5cecdd05105f668cc34005d8b1abe8f

Contents?: true

Size: 774 Bytes

Versions: 1

Compression:

Stored size: 774 Bytes

Contents

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

<xsl:strip-space elements="player name position team"/>
<xsl:output
   method="xml"
   indent="no"
   encoding="iso-8859-1"
/>

<xsl:template match="player">
 <html>
   <head>
     <title>
       <xsl:value-of select="name"/>
     </title>
   </head>
   <body>
     <xsl:apply-templates/>
   </body>
 </html>
</xsl:template>

<xsl:template match="player/name">
  <h1>
    <xsl:apply-templates/>
  </h1>
</xsl:template>

<xsl:template match="player/position">
  <h2>
    <xsl:apply-templates/>
  </h2>
</xsl:template>

<xsl:template match="player/team">
  <h3>
    <xsl:apply-templates/>
  </h3>
</xsl:template>



</xsl:stylesheet>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
java2ruby-xmldsig-0.2 lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/document.xsl