home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2007 September / maximum-cd-2007-09.iso / Assets / data / AssaultCube_v0.93.exe / docs / transformations / cubedoc2xhtml.xslt next >
Encoding:
Extensible Markup Language  |  2007-05-10  |  1.3 KB  |  44 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- ZLIB licensed, (C) 2007 Adrian 'driAn' Henke, http://www.sprintf.org -->
  3.  
  4. <!--
  5.   embeds a single xhtml documentation page into a common layout
  6. -->
  7.  
  8. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:h="http://www.w3.org/1999/xhtml">
  9.  
  10.   <xsl:output method="html" omit-xml-declaration="yes" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
  11.   
  12.   <xsl:template match="/h:html">
  13.     <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  14.         <head>
  15.           <title>
  16.             AssaultCube Readme
  17.           </title>
  18.           <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" />
  19.           <link rel="stylesheet" href="styles/cubedoc.css" />
  20.         </head>
  21.         <body>
  22.           <div id="main">
  23.             <div id="version">
  24.               v0.93
  25.             </div>
  26.             <div id="title">
  27.               <h1>
  28.                 AssaultCube README
  29.               </h1>
  30.             </div>
  31.             <div id="content">
  32.               <xsl:copy-of select="/h:html/h:body/*"/>
  33.             </div>
  34.             <div id="footer">
  35.               Rabid Viper Productions 2007/04/03
  36.             </div>
  37.           </div>
  38.         </body>
  39.       </html>
  40.   </xsl:template>
  41.  
  42. </xsl:stylesheet> 
  43.  
  44.