xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sch...@giub.unibe.ch
Subject transcoder problems
Date Tue, 15 Oct 2002 18:53:34 GMT

i'm encountering a problem while using the batik-transcoder in cocoon 2. if the
svg-file i want to rasterize has all its css-definitions inside the document
(inside the <style>-tags) there are no problems. if the css-definitions are put
in an external css-stylesheet and linked via
<?xml-stylesheet href="svg.css" type="text/css"?> no output at all is generated.
when viewing the same file e.g in the acrobat viewer or in batik squiggle it is
displayed as it should be. the css-file is at the right place on the server.

the header of the svg-file is:
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<?xml-stylesheet href="svg.css" type="text/css"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
<svg xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:java="http://xml.apache.org/xslt/java" viewBox="587500 -213500 26500
24500" height="100%" width="100%">

in cocoon the transcoder is defined like this:
<map:serializer name="svg2png" mime-type="image/png"
        <parameter name="transcoder"

does the transcoder have any problem with this processing instruction or have i
forgotten some parameters?


This mail sent through IMP at http://mail.unibe.ch

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message