~ubuntu-branches/ubuntu/precise/xom/precise

« back to all changes in this revision

Viewing changes to data/xslt/input/8-10.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2007-11-25 15:50:40 UTC
  • Revision ID: james.westby@ubuntu.com-20071125155040-r75ikcqf1vu0cei7
Tags: upstream-1.1
ImportĀ upstreamĀ versionĀ 1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?> 
 
 
b'<xsl:stylesheet version="1.0" '
0
2
               xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
1
3
 <xsl:template match="people">
2
4
   <html>
3
5
     <head><title>Famous Scientists</title></head>
4
6
     <body>
5
7
       <dl>
6
8
         <xsl:apply-templates/>
7
9
       </dl>
8
10
     </body>
9
11
   </html>
10
12
 </xsl:template>
11
13
 <xsl:template match="person">
12
14
   <dt><xsl:apply-templates select="name"/></dt>
13
15
   <dd><ul>
14
16
     <li>Born: <xsl:apply-templates select="@born"/></li>
15
17
     <li>Died: <xsl:apply-templates select="@died"/></li>
16
18
   </ul></dd>
17
19
 </xsl:template>
 
 
b'</xsl:stylesheet>'
 
 
b'\\ No newline at end of file'