-
Notifications
You must be signed in to change notification settings - Fork 1
/
tei_html_abstract.xsl
36 lines (33 loc) · 1.32 KB
/
tei_html_abstract.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
<!--
<h1>TEI » HTML (tei2html.xsl)</h1>
LGPL http://www.gnu.org/licenses/lgpl.html
© 2021 [email protected] & hutlus.fr & Optéos
© 2019 [email protected] & LABEX OBVIL & Optéos
© 2013 [email protected] & LABEX OBVIL
© 2012 [email protected]
© 2010 [email protected] & École nationale des chartes
© 2007 [email protected]
© 2005 ajlsm.com (Cybertheses)
XSLT 1.0 is compatible browser, PHP, Python, Java…
-->
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:tei="http://www.tei-c.org/ns/1.0" exclude-result-prefixes="tei">
<xsl:include href="tei_flow.xsl"/>
<xsl:include href="tei_notes.xsl"/>
<!-- -->
<xsl:output encoding="UTF-8" indent="yes" method="xml" omit-xml-declaration="yes"/>
<!-- Racine -->
<xsl:template match="/">
<xsl:apply-templates select="/*/tei:teiHeader/tei:profileDesc/tei:abstract"/>
</xsl:template>
<xsl:template match="tei:abstract">
<xsl:text> </xsl:text>
<article>
<xsl:apply-templates/>
<xsl:call-template name="footnotes"/>
</article>
</xsl:template>
<xsl:template match="tei:ref[starts-with(@target, '#')]">
<xsl:apply-templates/>
</xsl:template>
</xsl:transform>