Statistics
| Revision:

root / tmp / org.txm.core / res / org / txm / xml / xsl / tei / docx / utils / verbatim / tei-docx-verbatim.xsl @ 187

History | View | Annotate | Download (5 kB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<xsl:stylesheet xmlns:sch="http://www.ascc.net/xml/schematron"
3
                xmlns:m="http://www.w3.org/1998/Math/MathML"
4
                xmlns:atom="http://www.w3.org/2005/Atom"
5
                xmlns:xlink="http://www.w3.org/1999/xlink"
6
                xmlns:xhtml="http://www.w3.org/1999/xhtml"
7
                xmlns:dbk="http://docbook.org/ns/docbook"
8
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
9
                xmlns:tei="http://www.tei-c.org/ns/1.0"
10
                xmlns:teix="http://www.tei-c.org/ns/Examples"
11
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12
		xmlns:iso="http://www.iso.org/ns/1.0"
13
		xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
14
                version="2.0"
15
                exclude-result-prefixes="xlink xhtml dbk iso rng sch m tei teix atom">
16
    
17
    <xsl:import href="../../../common2/verbatim.xsl"/>
18
    
19
    <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" scope="stylesheet" type="stylesheet">
20
      <desc>
21
         <p> TEI Utility stylesheet to create verbatim XML for the TEI to Word conversion </p>
22
         <p>This software is dual-licensed:
23

    
24
1. Distributed under a Creative Commons Attribution-ShareAlike 3.0
25
Unported License http://creativecommons.org/licenses/by-sa/3.0/ 
26

    
27
2. http://www.opensource.org/licenses/BSD-2-Clause
28
		
29
All rights reserved.
30

    
31
Redistribution and use in source and binary forms, with or without
32
modification, are permitted provided that the following conditions are
33
met:
34

    
35
* Redistributions of source code must retain the above copyright
36
notice, this list of conditions and the following disclaimer.
37

    
38
* Redistributions in binary form must reproduce the above copyright
39
notice, this list of conditions and the following disclaimer in the
40
documentation and/or other materials provided with the distribution.
41

    
42
This software is provided by the copyright holders and contributors
43
"as is" and any express or implied warranties, including, but not
44
limited to, the implied warranties of merchantability and fitness for
45
a particular purpose are disclaimed. In no event shall the copyright
46
holder or contributors be liable for any direct, indirect, incidental,
47
special, exemplary, or consequential damages (including, but not
48
limited to, procurement of substitute goods or services; loss of use,
49
data, or profits; or business interruption) however caused and on any
50
theory of liability, whether in contract, strict liability, or tort
51
(including negligence or otherwise) arising in any way out of the use
52
of this software, even if advised of the possibility of such damage.
53
</p>
54
         <p>Author: See AUTHORS</p>
55
         <p>Id: $Id: tei-docx-verbatim.xsl 9669 2011-11-07 19:17:54Z rahtz $</p>
56
         <p>Copyright: 2008, TEI Consortium</p>
57
      </desc>
58
   </doc>
59
    
60
    <!--
61
        <xsl:param name="startComment">&lt;span class="comment"&gt;</xsl:param>
62
    <xsl:param name="endComment">&lt;/span&gt;</xsl:param>
63
    <xsl:param name="startElement">&lt;span class="element"&gt;</xsl:param>
64
    <xsl:param name="endElement">&lt;/span&gt;</xsl:param>
65
    <xsl:param name="startElementName">&lt;span class="elementname"&gt;</xsl:param>
66
    <xsl:param name="endElementName">&lt;/span&gt;</xsl:param>
67
    <xsl:param name="startAttribute">&lt;span class="attribute"&gt;</xsl:param>
68
    <xsl:param name="endAttribute">&lt;/span&gt;</xsl:param>
69
    <xsl:param name="startAttributeValue">&lt;span class="attributevalue"&gt;</xsl:param>
70
    <xsl:param name="endAttributeValue">&lt;/span&gt;</xsl:param>
71
    <xsl:param name="startNamespace">&lt;span class="namespace"&gt;</xsl:param>
72
    <xsl:param name="endNamespace">&lt;/span&gt;</xsl:param>
73
    
74
    <xsl:param name="spaceCharacter">&#xA0;</xsl:param>
75
    <xsl:param name="showNamespaceDecls">true</xsl:param> -->
76
    
77
    <xsl:param name="startComment"/>
78
    <xsl:param name="endComment"/>
79
    <xsl:param name="startElement"/>
80
    <xsl:param name="endElement"/>
81
    <xsl:param name="startElementName"/>
82
    <xsl:param name="endElementName"/>
83
    <xsl:param name="startAttribute"/>
84
    <xsl:param name="endAttribute"/>
85
    <xsl:param name="startAttributeValue"/>
86
    <xsl:param name="endAttributeValue"/>
87
    <xsl:param name="startNamespace"/>
88
    <xsl:param name="endNamespace"/>
89
    
90
    <xsl:param name="spaceCharacter">&#160;</xsl:param>
91
    <xsl:param name="showNamespaceDecls">true</xsl:param>
92
    
93
    <xsl:template name="verbatim-lineBreak">
94
        <xsl:param name="id"/>
95
        <tei:lb/>
96
    </xsl:template>
97
    
98
    <xsl:template name="verbatim-createElement">
99
        <xsl:param name="name"/>
100
        <xsl:param name="special"/>
101
        <tei:hi rend="bold">
102
            <xsl:value-of select="$name"/>
103
        </tei:hi>
104
    </xsl:template>
105
    
106
    <xsl:template name="verbatim-createAttribute">
107
        <xsl:param name="name"/>
108
        <tei:hi rend="bold">
109
            <xsl:value-of select="$name"/>
110
        </tei:hi>
111
    </xsl:template>    
112
    
113
    
114
    
115
    <xsl:template name="create-egXML-section">
116
        <xsl:apply-templates mode="verbatim"/>
117
    </xsl:template>
118
    
119
</xsl:stylesheet>