<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="mathml.xsl"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://www.w3.org/1999/xhtml">
   <head>
      <title>Example: record database</title>
      <link href="./w3ctalk-640w.css" rel="stylesheet" type="text/css" title="640w" />
      <link href="./w3ctalk-640.css" rel="alternate stylesheet" type="text/css" title="640" />
      <link href="./w3ctalk-800w.css" rel="alternate stylesheet" type="text/css" title="800w" />
      <link href="./w3ctalk-800.css" rel="alternate stylesheet" type="text/css" title="800" />
      <link href="./w3ctalk-1024w.css" rel="alternate stylesheet" type="text/css" title="1024w" />
      <link href="./w3ctalk-1024.css" rel="alternate stylesheet" type="text/css" title="1024" />
      <link rel="next" href="slide8.xml" title="Next" />
      <link rel="previous" href="slide6.xml" title="Previous" />
      <link rel="contents" href="Overview.xml" title="Contents" />
      <link rel="up" href="Overview.xml" title="Up" />
   </head>
   <body><a href="http://www.w3.org/"><img src="./w3c_home.gif" alt="W3C  " /></a><h1 class="slide">
         <h2>Example: record database</h2>
      </h1>
      <hr class="top" />
      <div>
         <ul>
            
            	
            <li>record in database in XML and XSLT transforms, make it
               	easy to process the database in different ways:
            </li>
            
            	
            <li>Output the data: <a href="max.html">HTML</a>
               	  (<a href="music2html.xsl">music2html.xsl</a>) 
               	  <a href="max.pdf">XSL-FO (PDF)</a> (<a href="music2fo.xsl">music2fo.xsl</a>). Many things shown: sorting, grouping, indexing, etc.
            </li>
            
            	
            <li>Query the data:
               <pre>&lt;xsl:apply-templates select="collection/record[@year='1971']/artist"/&gt;</pre>
               	  returns
               <pre>Genesis
Aphrodite's Child
Emerson, Lake and Palmer
Pink Floyd</pre></li>
            
         </ul>
      </div>
      <hr class="bottom" />
      <table class="navbar" cellspacing="0" cellpadding="0" width="97%" summary="footer">
         <tr valign="bottom">
            <td>
               <p class="index">7 of 23</p>
            </td>
            <td valign="top">
               <div><a rel="previous" href="slide6.xml" accesskey="P"><img src="./left.gif" width="32" height="32" alt=" previous" title="Back to &#34;Many output formats&#34;" /></a><a rel="contents" href="Overview.xml" accesskey="C"><img src="./toc.png" width="32" height="32" alt=" contents" title="Table of Contents" /></a><a rel="next" href="slide8.xml" accesskey="N"><img src="./right.gif" width="32" height="32" alt=" next" title="On to &#34;Example: ChessGML&#34;" /></a></div>
            </td>
         </tr>
      </table>
   </body>
</html>