Dear All,

I have been experimenting with SVG, in that I need to overlay a number of transparent 
images.

I have created a simple SVG file, shown below.

When I try to access this via Cocoon, I get the error:

The attribute 'xlink:href' of the element <image> is required

When I use the Batik rasterizer which I downloaded (batik1.5beta4b), it works fine. 
Any 
ideas?

SVG file

<svg width="740" height="499"
     xmlns="http://www.w3.org/2000/svg"; 
     xmlns:xlink="http://www.w3.org/1999/xlink";>
     
  <image xlink:href="base.png" 
                 x="0" y="0" width="740" height="499"/>
  <image xlink:href="overlay.png" 
                 x="0" y="0" width="740" height="499"/>
</svg>

Sitemap fragment:
 <map:pipelines>
  <map:pipeline>
    <map:match pattern="test.jpg">
      <map:generate src="test.svg"/>
      <map:serialize type="svg2jpeg"/>
    </map:match>
  </map:pipeline>

I am using Cocoon 2.0.2 on Tomcat 4.0.3 on Windows 2000 Professional.

Regards, Upayavira


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to