I am trying to use fo:external graphic and I am unable to get it
working.  I am using cocoon 2.0.4 that uses fop 0.20.4 and my code is
below.  Please help me I am losing my hair on this one.  Thanks in
advance.

 

<?xml version="1.0"?>

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

       

<xsl:template match="page">

  <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>

    <fo:layout-master-set>

      <fo:simple-page-master master-name="page" page-height="8.5in"
page-width="11in">

        <fo:region-body region-name="xsl-region-body" margin="0.7in" />

        <fo:region-before region-name="xsl-region-before" extent="0.7in"
/>

        <fo:region-after region-name="xsl-region-after" extent="0.7in"
/>

      </fo:simple-page-master>

    </fo:layout-master-set>

             

    <fo:page-sequence master-reference="page">

      <fo:static-content flow-name="xsl-region-before">

        <fo:block>

          <fo:external-graphic src="C:\Program Files\Apache Group\Tomcat
4.1\webapps\cocoon\vyzo\images\logo.png" 

                content-height="100%" width="100%" scaling="uniform" />

          </fo:block>

        </fo:static-content>

 

.........

 

 

Tim Bachta

 

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to