diff --git a/ws/Docbook/Preprocess/Xsl/docbook2slide.xsl b/ws/Docbook/Preprocess/Xsl/docbook2slide.xsl index cfdf321784d1b141815fa5fb186ae11ea952d5c0..ea418ccad947d020b1ba361bcd9c01948d69ce58 100644 --- a/ws/Docbook/Preprocess/Xsl/docbook2slide.xsl +++ b/ws/Docbook/Preprocess/Xsl/docbook2slide.xsl @@ -26,4 +26,15 @@ </xsl:template> + <xsl:template match="db:figure/db:mediaobject/db:imageobject/db:imagedata[ends-with(@fileref, '.svg')]"> + + <xsl:copy> + <xsl:attribute name="scale"> + <xsl:text>150</xsl:text> + </xsl:attribute> + <xsl:apply-templates select="@*[not(name(.) = 'scale')] | node()"/> + </xsl:copy> + + </xsl:template> + </xsl:stylesheet>