Skip to content

Commit

Permalink
create tei:p from w:p, copy style name
Browse files Browse the repository at this point in the history
Cf. #29
  • Loading branch information
dariok committed Apr 15, 2019
1 parent f7a9d5a commit 1033312
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions t0.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,14 @@
</div>
</xsl:for-each-group>
</xsl:template>

<xsl:template match="w:p[not(descendant::w:t or descendant::w:sym)]" />
<xsl:template match="w:p">
<p>
<xsl:apply-templates select="w:pPr/w:pStyle" />
</p>
</xsl:template>
<xsl:template match="w:pStyle">
<xsl:attribute name="style" select="@w:val" />
</xsl:template>
</xsl:stylesheet>

0 comments on commit 1033312

Please sign in to comment.