1<?xml version='1.0'?> 2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3 version='1.0' 4 xmlns="http://www.w3.org/TR/xhtml1/transitional" 5 exclude-result-prefixes="#default"> 6 7<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> 8<xsl:include href="stylesheet-common.xsl" /> 9<xsl:include href="stylesheet-html-common.xsl" /> 10<xsl:include href="stylesheet-speedup-xhtml.xsl" /> 11 12<!-- embed SVG images into output file --> 13<xsl:template match="imagedata[@format='SVG']"> 14 <xsl:variable name="filename"> 15 <xsl:call-template name="mediaobject.filename"> 16 <xsl:with-param name="object" select=".."/> 17 </xsl:call-template> 18 </xsl:variable> 19 20 <xsl:copy-of select="document($filename)"/> 21</xsl:template> 22 23</xsl:stylesheet> 24