mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-12 22:37:52 +02:00
ea55aec0a9
Add infrastructure for having images in the documentation, in SVG format. Add two images to start with. See the included README file for instructions. Author: Jürgen Purtz <juergen@purtz.de> Author: Peter Eisentraut <peter.eisentraut@2ndquadrant.com> Discussion: https://www.postgresql.org/message-id/flat/aaa54502-05c0-4ea5-9af8-770411a6bf4b@purtz.de
24 lines
824 B
XML
24 lines
824 B
XML
<?xml version='1.0'?>
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
version='1.0'
|
|
xmlns="http://www.w3.org/TR/xhtml1/transitional"
|
|
exclude-result-prefixes="#default">
|
|
|
|
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
|
|
<xsl:include href="stylesheet-common.xsl" />
|
|
<xsl:include href="stylesheet-html-common.xsl" />
|
|
<xsl:include href="stylesheet-speedup-xhtml.xsl" />
|
|
|
|
<!-- embed SVG images into output file -->
|
|
<xsl:template match="imagedata[@format='SVG']">
|
|
<xsl:variable name="filename">
|
|
<xsl:call-template name="mediaobject.filename">
|
|
<xsl:with-param name="object" select=".."/>
|
|
</xsl:call-template>
|
|
</xsl:variable>
|
|
|
|
<xsl:copy-of select="document($filename)"/>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|