Skip to content

Commit

Permalink
Adding License and Source descriptions in XSLT
Browse files Browse the repository at this point in the history
  • Loading branch information
kmadathil committed Feb 12, 2017
1 parent dbad193 commit a8998d2
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
Binary file modified docs/sk.epub
Binary file not shown.
17 changes: 16 additions & 1 deletion docs/sk.html
Original file line number Diff line number Diff line change
Expand Up @@ -38124,7 +38124,22 @@ <h2 class="index">धातुसूचि: (संगणितः)</h2>
<b>ॠ</b> गतौ <a href="#D1498">1498</a>
</div>
<h2 class="index">Document Information</h2>
<h3>Revision History</h3>
<h3>Licence</h3>
<p>Copyright Notice</p>
<p>Copyright 2017 https://github.com/drdhaval2785/</p>
<p><a href="http://creativecommons.org/licenses/by-sa/4.0/">Distributed by https://github.com/drdhaval2785/ under a Creative Commons Attribution-ShareAlike 4.0 International License. </a></p>
<p>Under this licence, you are free <ul>
<li>to Share — to copy, distribute and transmit the work</li>
<li>to Remix — to adapt the work </li>
</ul></p>
<p>Under the following conditions:</p>
<p><ul>
<li>Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).</li>
<li>Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.</li>
</ul></p>
<p>More information and fuller details of this license are given on the Creative Commons website.</p>
<p>https://github.com/drdhaval2785/ assumes no responsibility for unauthorised use that infringes the rights of any copyright owners, known or unknown.</p>
<h3>Original Source</h3>Dr. H. N. Bhat posted a docx file on a google group on 2016-12-26 at https://groups.google.com/forum/#!searchin/bvparishat/siddhantakaumudi$20unicode|sort:relevance/bvparishat/iYYVe5sFaFM/tPBIEFvcDAAJ. The digital file has no description of source from where it was encoded nor who encoded it.<h3>Revision History</h3>
<table border="1">
<tr>
<th>Date</th>
Expand Down
21 changes: 21 additions & 0 deletions sk_html.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
</div>
</xsl:for-each>
<h2 class="index">Document Information</h2>
<h3>Licence</h3>
<xsl:apply-templates select="//t:teiHeader/t:fileDesc//t:availability"/>
<h3>Original Source</h3>
<xsl:apply-templates select="//t:teiHeader/t:fileDesc/t:notesStmt/t:note"/>
<h3>Revision History</h3>
<table border="1">
<tr>
Expand Down Expand Up @@ -105,5 +109,22 @@
<xsl:template match="t:div[@type='SKsandarbhaḥ']">
<a href="#SK{.}" title="{//t:ab[t:label=current()]/text()}" ><sup><xsl:value-of select="."/></sup></a>
</xsl:template>

<xsl:template match="t:ref">
<a href="{./@target}"><xsl:value-of select="."/></a>
</xsl:template>

<xsl:template match="t:list">
<ul>
<xsl:apply-templates/>
</ul>
</xsl:template>
<xsl:template match="t:item">
<li>
<xsl:apply-templates/>
</li>
</xsl:template>


</xsl:stylesheet>

0 comments on commit a8998d2

Please sign in to comment.