sadsad hdsgfh wrote:
Thanks for your quit answer, but it still not working.
Element gtransf = document.createElement( "g" );
Your g element is not in the SVG namespace. All SVG Elements must be created in the SVG namespace.
treeManager.appendGroup(gtransf, null );
What are you doing with the Tree Manager? You should just build your document and give the built SVGDocument to the PrintTranscoder (no need to serialize it). So you should appendChild the gtrans to document.getRoot().
And i try createElementNS for my transform. When i stream to file, it generate :
All SVG files must have an 'svg' element as the root element. You can't have a 'g' as the root element in the document as below.
<g transform="translate(210,397)">
<svg height="20" preserveAspectRatio="xMinYMin slice" viewBox="0 0 49 20" width="49">
<image height="25px" width="300px" x="0" xlink:href="file://images/motifBlanc.jpg" y="0" />
</svg>
</g>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]