home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/">
- <html>
- <head/>
- <body>
- <div style="margin:3mm">
- <xsl:apply-templates/>
- </div>
- </body>
- </html>
- </xsl:template>
- <xsl:template match="ab">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="addSpan">
- <div>
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- </div>
- </xsl:template>
- <xsl:template match="addrLine">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="address">
- <br/>
- <xsl:for-each select="name">
- <xsl:apply-templates/>
- <br/>
- </xsl:for-each>
- <xsl:for-each select="street">
- <xsl:apply-templates/>
- <br/>
- </xsl:for-each>
- <xsl:for-each select="addrLine">
- <xsl:apply-templates/>
- <br/>
- </xsl:for-each>
- <xsl:for-each select="postBox">
- <xsl:apply-templates/>
- <br/>
- </xsl:for-each>
- <xsl:for-each select="postCode">
- <xsl:apply-templates/>
- <br/>
- </xsl:for-each>
- </xsl:template>
- <xsl:template match="argument">
- <p>
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- </p>
- </xsl:template>
- <xsl:template match="att">
- <span style="font-family:Courier">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- <xsl:template match="author">
- <xsl:apply-templates/>
- <br/>
- </xsl:template>
- <xsl:template match="availability">
- <p>
- <xsl:apply-templates/>
- </p>
- </xsl:template>
- <xsl:template match="byline">
- <div style="margin-right:5cm" align="center">
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="camera">
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- <xsl:template match="cit">
- <span style="font-style:italic">"</span>
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- <span style="font-style:italic">"</span>
- </xsl:template>
- <xsl:template match="dateline">
- <br/>
- <xsl:apply-templates/>
- <br/>
- </xsl:template>
- <xsl:template match="delSpan">
- <xsl:apply-templates/>
- </xsl:template>
- <xsl:template match="distinct">
- <span style="font-style:normal; font-weight:lighter; letter-spacing:1px">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- <xsl:template match="div">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="div0">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="div1">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="div2">
- <xsl:apply-templates/>
- </xsl:template>
- <xsl:template match="div3">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="div4">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="div5">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="div6">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="div7">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="divGen">
- <br/>
- <span style="background-color:silver">Generated Div Here: </span>
- <xsl:for-each select="@type">
- <span style="background-color:silver">
- <xsl:value-of select="."/>
- </span>
- </xsl:for-each>
- <br/>
- </xsl:template>
- <xsl:template match="docTitle">
- <span style="font-size:large; font-weight:bold">
- <xsl:apply-templates/>
- </span>
- <br/>
- </xsl:template>
- <xsl:template match="editionStmt">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="emph">
- <span style="font-weight:bold">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- <xsl:template match="encodingDesc">
- <div style="margin-bottom:3mm; margin-left:3cm; margin-right:3cm; margin-top:3mm">
- <span style="font-family:@Arial Unicode MS">
- <xsl:apply-templates/>
- </span>
- </div>
- </xsl:template>
- <xsl:template match="epigraph">
- <div align="center">
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- </div>
- </xsl:template>
- <xsl:template match="figure">
- <br/>
- <xsl:for-each select="@entity">
- <img border="0">
- <xsl:attribute name="src"><xsl:value-of select="." /></xsl:attribute>
- </img>
- </xsl:for-each>
- <br/>
- <div style="margin-left:1cm">
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="foreign">
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- <xsl:template match="gap">
- <br/>
- <span style="font-style:italic">(ommited material)</span>
- <br/>
- </xsl:template>
- <xsl:template match="head">
- <span style="font-size:medium; font-weight:normal">
- <xsl:apply-templates/>
- </span>
- <br/>
- </xsl:template>
- <xsl:template match="hi">
- <span style="background-color:#FFFF84">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- <xsl:template match="item">
- <ul style="margin-bottom:0; margin-top:0; marginBottom:0; marginTop:0">
- <li>
- <xsl:apply-templates/>
- </li>
- </ul>
- </xsl:template>
- <xsl:template match="l">
- <xsl:apply-templates/>
- <br/>
- </xsl:template>
- <xsl:template match="label">
- <span style="font-weight:bold">
- <xsl:apply-templates/>
- </span>
- <br/>
- </xsl:template>
- <xsl:template match="lb">
- <br/>
- </xsl:template>
- <xsl:template match="move">
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- <xsl:template match="note">NOTE : [<br/>
- <xsl:apply-templates/>
- <br/>]</xsl:template>
- <xsl:template match="p">
- <p>
- <xsl:apply-templates/>
- </p>
- </xsl:template>
- <xsl:template match="ptr">
- <a>
- <xsl:attribute name="href"><xsl:value-of select="@target" /></xsl:attribute>
- <xsl:apply-templates/>
- </a>
- </xsl:template>
- <xsl:template match="publicationStmt">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="q">"<xsl:apply-templates/>"</xsl:template>
- <xsl:template match="quote">'<xsl:apply-templates/>'</xsl:template>
- <xsl:template match="ref">
- <a>
- <xsl:attribute name="href"><xsl:value-of select="@target" /></xsl:attribute>
- <xsl:apply-templates/>
- </a>
- </xsl:template>
- <xsl:template match="signed">Signed: <xsl:apply-templates/>
- </xsl:template>
- <xsl:template match="soCalled">
- <span style="font-weight:bold">"</span>
- <span style="font-weight:bold">
- <xsl:apply-templates/>
- </span>
- <span style="font-weight:bold">"</span>
- </xsl:template>
- <xsl:template match="sound">
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- <xsl:template match="sourceDesc">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="sp">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="tech">
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- <xsl:template match="teiHeader">
- <table bgcolor="#F0EEF0" width="100%">
- <tbody>
- <tr>
- <td style="margin:2cm">
- <span style="font-weight:bold">Header Information:</span>
- <div style="margin:2cm">
- <xsl:apply-templates/>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </xsl:template>
- <xsl:template match="term">
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- <xsl:template match="title">
- <span style="font-size:large">
- <xsl:apply-templates/>
- </span>
- <br/>
- </xsl:template>
- <xsl:template match="titlePage">
- <table width="100%">
- <tbody>
- <tr>
- <td style="border-bottom-color:black; border-bottom-style:solid; border-bottom-width:thin"> </td>
- </tr>
- </tbody>
- </table>
- <p>
- <xsl:apply-templates/>
- </p>
- <br/>
- <table width="100%">
- <tbody>
- <tr>
- <td style="border-top-color:black; border-top-style:solid; border-top-width:thin"> </td>
- </tr>
- </tbody>
- </table>
- </xsl:template>
- <xsl:template match="titlePart">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="titleStmt">
- <div>
- <xsl:apply-templates/>
- </div>
- </xsl:template>
- <xsl:template match="view">
- <span style="font-style:italic">
- <xsl:apply-templates/>
- </span>
- </xsl:template>
- </xsl:stylesheet>
-