2 changed files with 28 additions and 3 deletions
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?> |
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
||||
version="1.0"> |
||||
|
||||
<xsl:output method="xml" omit-xml-declaration="no" /> |
||||
|
||||
<xsl:param name="fontspec"/> |
||||
|
||||
<xsl:template match="/ | @* | node()"> |
||||
<xsl:copy> |
||||
<xsl:apply-templates select="@* | node()" /> |
||||
</xsl:copy> |
||||
</xsl:template> |
||||
|
||||
<xsl:template match="fonts"> |
||||
<fonts> |
||||
<xsl:copy-of select="comment()" /> |
||||
<xsl:copy-of select="document($fontspec)/fonts/font" /> |
||||
</fonts> |
||||
</xsl:template> |
||||
|
||||
</xsl:stylesheet> |
Loading…
Reference in new issue