prev slide prev contents

An example of a XSLT rule for the language

of the previous example


   <xsl:template match="recipe">
     <h1>
       <xsl:value-of select="title"/>
     </h1>
     <table>
       <xsl:for-each select="ingredient"/>
         <tr>
           <td>
             <xsl:value-of select="."/>
           </td>
         </tr>
       </xsl:for-each>
     </table>
     ...
   </xsl:template match="recipe">