Statistics
| Revision:

root / tmp / org.txm.core / res / org / txm / xml / xsl / tei / tools / docx-templates-twiddling / fixdotrels.xsl @ 187

History | View | Annotate | Download (742 Bytes)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsl:stylesheet 
3
    version="2.0"
4
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5
    xmlns:r="http://schemas.openxmlformats.org/package/2006/relationships"
6
    exclude-result-prefixes="r">
7

    
8
  <xsl:output  encoding="UTF-8" standalone="yes" method="xml"/>
9

    
10
  <!-- identity transform -->
11
  
12
  <xsl:template match="@*|text()|comment()|processing-instruction()" >
13
    <xsl:copy-of select="."/>
14
  </xsl:template>
15
  
16
  <xsl:template match="*" >
17
    <xsl:copy>
18
      <xsl:apply-templates select="*|@*|processing-instruction()|comment()|text()" 
19
			   />
20
    </xsl:copy>
21
  </xsl:template>
22

    
23
  <!-- do not copy custom xml rel -->
24
  <xsl:template match="*[@Target='docProps/custom.xml']"/>
25
</xsl:stylesheet>