SVG graphic box/size

2002-06-04 Thread Murad Sæter
Hi,

I'm making a small report with xml, xsl and svg-file.
I've put the files on http://www.stud.ntnu.no/~sater/xml.

When I generate the pdf with FOP, the svg-image is cut to
a small box. This is probably a problem with med xsl-file,
but as a xsl-newbie I can't see it.

When I look at the file with Antenna House XSL Formatter it
looks fine.

Could someone please give me a hint?

Thanks,

Murad Sæter


RE: SVG graphic box/size

2002-06-04 Thread Murad Sæter
Thanks, but I can't quite understand :)

I get the same portion of the image without width/height and 
content-width/height attributes. How do I set the width and height on the svg 
itself? The svg looks fine in internet explorer. Do I have to edit the svg? It 
is produced fra a awt.image to svg with batik.

-Original Message-
From: Keiron Liddle [mailto:[EMAIL PROTECTED] 
Sent: 4. juni 2002 10:50
To: [EMAIL PROTECTED]
Subject: Re: SVG graphic box/size



It is something to do with the width and height that you are setting on the svg 
through the content width and height. This is creating a view of only the 
corner of the image. Try setting the width and height on the svg itself.


On Tue, 2002-06-04 at 10:06, Murad Sæter wrote:
 Hi,
 
 I'm making a small report with xml, xsl and svg-file.
 I've put the files on http://www.stud.ntnu.no/~sater/xml.
 
 When I generate the pdf with FOP, the svg-image is cut to
 a small box. This is probably a problem with med xsl-file, but as a 
 xsl-newbie I can't see it.
 
 When I look at the file with Antenna House XSL Formatter it looks 
 fine.
 
 Could someone please give me a hint?
 
 Thanks,
 
 Murad Sæter