Hi Thomas,
now i can able to access gradients from external files. but i could not access
symbols.
Element use = doc.createElementNS(svgNS, "use");
use.setAttributeNS(null, "x", "265");
use.setAttributeNS(null, "y", "205");
use.setAttributeNS(null, "id", "r1");
use.setAttributeNS(XLINK_NAMESPACE_URI, "xlink:href", "url
(file:///C:/de.svg#extSymbol)");
use.setAttributeNS(null, "style", "fill:orange");
if i use this code, it is giving following error.
java.io.IOException: Unable to make sense of URL for connection
at org.apache.batik.util.ParsedURLData.openStreamInternal
(ParsedURLData.java:361)
at org.apache.batik.util.ParsedURLData.openStream
(ParsedURLData.java:322)
at org.apache.batik.util.ParsedURL.openStream(ParsedURL.java:384)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument
(SAXSVGDocumentFactory.java:158)
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createSVGDocument
(SAXSVGDocumentFactory.java:124)
at org.apache.batik.bridge.DocumentLoader.loadDocument
(DocumentLoader.java:105)
Thanks,
Selva
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]