<?xml version="1.0"?>
<!-- ============================================================ -->
<!--                                                              -->
<!-- 	This file makes a part of RenderX XSL Test Suite          -->
<!--                                                              -->
<!--    Author: Alexander Peshkov                                 -->
<!--                                                              -->
<!--    (c) RenderX, 2003                                         -->
<!--                                                              -->
<!-- ============================================================ -->

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                			  xmlns:fo="http://www.w3.org/1999/XSL/Format"
                			  xmlns:rx="http://www.renderx.com/XSL/Extensions">

	<xsl:import href="generic.xsl"/>
	
	<xsl:output indent="yes"/>

	<xsl:template match="figure">
		<fo:float float="start" clear="start">
		  <fo:block margin="0pt 4pt 0pt 0pt">
	        <fo:external-graphic content-width="50%" content-height="50%">
	          <xsl:attribute name="src">url(<xsl:value-of select="@src"/>)</xsl:attribute>
            </fo:external-graphic>
          </fo:block>
		</fo:float>
	</xsl:template>

	<xsl:template match="floating-title">
		<fo:float float="start" clear="none">
	        <fo:block font="bold 12pt Helvetica" margin="8pt 4pt 0pt 0pt">
	          <xsl:apply-templates/>
            </fo:block>
		</fo:float>
	</xsl:template>

</xsl:stylesheet>