title: fo:external-graphic src="data:image/png;base64, ..." as attribute
body: <p>I have a sniplet in my xslt like:</p>
  
  <pre><code>    &lt;fo:block&gt;
      &lt;fo:external-graphic src="data:image/png;base64, //base64 code//" /&gt;
      &lt;/fo:block&gt;
  </code></pre>
  
  <p>Not to clutter my main stylesheet, i have created another xslt that have the base64 image as parameter like:</p>
  
  <pre><code>     &lt;xsl:param name="logo"&gt;data:image/png;base64, //base64 code//&lt;/xsl:param&gt;
  </code></pre>
  
  <p>If i change my main stylesheet to:</p>
  
  <pre><code>    .
      .
      &lt;xsl:include href="image.xsl" /&gt;
      .
      .
      &lt;fo:block&gt;
      &lt;fo:external-graphic&gt;
      &lt;xsl:attribute name="src"&gt;&lt;xsl:value-of select="$logo" /&gt;&lt;/xsl:attribute&gt;
      &lt;/fo:external-graphic&gt;
      &lt;/fo:block&gt;
  </code></pre>
  
  <p>1st i get a heap-size error and after using -Xmx4096m i get a parse error.. When i have the base64 image embedded in the main stylesheet, i don't need the 4gb heap and the pdf i make have the image as intented. </p>
  
  <p>Using Apache FOP 1.1 and sorry for my english, not my main language..</p>