Converts a XML text (SVG) in an image through batik, which is a Java library which can be used to render, generate and manipulate SVG graphics.

1 svgutils.svg2img

<svgutils.svg2img
    width='width'
    height='height'
    maxWidth='maxWidth'
    maxHeight='maxHeight'
    jpeg='true|false'
    pda='true|false'
>
    <object2string /> !
</svgutils.svg2img>

Exceptions

requires 1 arguments, received: 0

An argument should be passed.

Example
Copy
<xsql-script name='svgutils_svg2img'>
    <body>
        <set name='m_file'>
            <string>c:<file.separator />tmp<file.separator />pgf<file.separator />svg2img.svg</string>
        </set>       
        <println>
            <svgutils.svg2img width='640' height='400' maxWidth='800' maxHeight='800' jpeg='false' pda='false'>
                <m_file />
            </svgutils.svg2img>
        </println>
    </body>
</xsql-script>