Statistics
| Revision:

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

History | View | Annotate | Download (2.4 kB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<xsl:stylesheet xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
                version="2.0">
5

    
6
    <doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" scope="stylesheet" type="stylesheet">
7
      <desc>
8
         <p> TEI utility stylesheet for identity transformation </p>
9
         <p>This software is dual-licensed:
10

    
11
1. Distributed under a Creative Commons Attribution-ShareAlike 3.0
12
Unported License http://creativecommons.org/licenses/by-sa/3.0/ 
13

    
14
2. http://www.opensource.org/licenses/BSD-2-Clause
15
		
16
All rights reserved.
17

    
18
Redistribution and use in source and binary forms, with or without
19
modification, are permitted provided that the following conditions are
20
met:
21

    
22
* Redistributions of source code must retain the above copyright
23
notice, this list of conditions and the following disclaimer.
24

    
25
* Redistributions in binary form must reproduce the above copyright
26
notice, this list of conditions and the following disclaimer in the
27
documentation and/or other materials provided with the distribution.
28

    
29
This software is provided by the copyright holders and contributors
30
"as is" and any express or implied warranties, including, but not
31
limited to, the implied warranties of merchantability and fitness for
32
a particular purpose are disclaimed. In no event shall the copyright
33
holder or contributors be liable for any direct, indirect, incidental,
34
special, exemplary, or consequential damages (including, but not
35
limited to, procurement of substitute goods or services; loss of use,
36
data, or profits; or business interruption) however caused and on any
37
theory of liability, whether in contract, strict liability, or tort
38
(including negligence or otherwise) arising in any way out of the use
39
of this software, even if advised of the possibility of such damage.
40
</p>
41
         <p>Author: See AUTHORS</p>
42
         <p>Id: $Id: identity.xsl 9646 2011-11-05 23:39:08Z rahtz $</p>
43
         <p>Copyright: 2008, TEI Consortium</p>
44
      </desc>
45
   </doc>
46

    
47
    <!-- identity transform -->
48
    
49
    <xsl:template match="@*|text()|comment()|processing-instruction()" mode="iden">
50
        <xsl:copy-of select="."/>
51
    </xsl:template>
52
    
53
    <xsl:template match="*" mode="iden">
54
        <xsl:copy>
55
            <xsl:apply-templates select="*|@*|processing-instruction()|comment()|text()" mode="iden"/>
56
	     </xsl:copy>
57
    </xsl:template>
58
        
59
</xsl:stylesheet>