Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pdn-certic
MaX
Commits
91c91dcd
Commit
91c91dcd
authored
Apr 18, 2019
by
Guillaume Porte
Browse files
Add new file
parent
4a18c6cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/regularisation/regularisation.xsl
0 → 100644
View file @
91c91dcd
<?xml version="1.0" encoding="UTF-8"?>
<!--
For conditions of distribution and use, see the accompanying legal.txt file.
-->
<xsl:stylesheet
version=
"2.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:tei=
"http://www.tei-c.org/ns/1.0"
exclude-result-prefixes=
"tei xsl"
>
<xsl:template
match=
"//tei:choice"
><xsl:apply-templates/></xsl:template>
<xsl:template
match=
"//tei:orig | //tei:reg"
>
<span>
<xsl:attribute
name=
"class"
>
<xsl:value-of
select=
"local-name(.)"
/>
</xsl:attribute><xsl:apply-templates/>
</span>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment