mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	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>
 |