Eduard Drenth wrote: > Dear developers, > > Can anyone help me with the following: > > I created an svg document which I can display in batik: > > <svg xmlns="http://www.w3.org/2000/svg" > xmlns:xlink="http://www.w3.org/1999/xlink" > width="400" height="300" viewBox="0 0 400 300"> > > <title>Testje van Pieter</title> > > <image xlink:href="004.jpg" x="0" y="0" width="400" height="300"/> > > <text x="25" y="100" font-family="Courier" font-size="12pt">Hallo, > Eduard</text> > > <text x="25" y="200" font-family="gothic" stroke="purple" > font-size="24pt">Hoe gaat het?</text> > </svg> > > My sitemap entry to display this svg in cocoon is: > > <map:match pattern="xsp/test.svg"> > <map:generate src="docs/samples/xsp/test.svg"/> > <map:serialize type="svg2jpeg"/> > </map:match> > > I receive the following error message: > try this
<title>Testje van Pieter</title> <image xlink:href="004.jpg" x="0" y="0" width="400" height="300"/> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" height="300" viewBox="0 0 400 300"> <svg:text x="25" y="100" font-family="Courier" font-size="12pt">Hallo, Eduard</svg:text> <svg:text x="25" y="200" font-family="gothic" stroke="purple" font-size="24pt">Hoe gaat het?</svg:text> </svg> Regards Yury > > > Description:org.apache.cocoon.ProcessingException: > > Could not read resource > file:/home/jakarta-tomcat-3.3/webapps/cocoon/docs/samples/xsp/test.svg: > org.apache.batik.transcoder.TranscoderException: nullEnclosed > > Exception:http://xml.apache.org:-1The attribute 'xlink:href' of the > element is required > > What is the problem here??? > > > Thanks in advance, regards, > > Eduard Drenth > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>