Hi Tonny, Thanks for your answer! I know that my question is a little bit strange...
I need to get the svg element (dom node) corresponding to a position of a svg document. I have the position in my application and I want to interact to the svg document with Java (with Batik) in order to get the corresponding element(s) without displaying the svg. I think that the wiki url you gave to me, is a good beginning because I can load the svg without displaying it but I don't know how to use then... Any idea? Thanks a lot for your help!! Thierry > Hi, > > > Sorry, could not understand your question properly > "...absolute position from Java ..." > > Batik is writtern in Java, and it is java. But what > is the relation of absolute position with java ? > > If you mean absolute position on the screen as in > pixel (x,y) without displaying the SVG using > JSVGCanvas, etc ? > You might be interested to look at the wiki artikel > in Batik website regarding boot css (forget the url). > > If above is not the case, you are trying to get > attribute values from the DOM, you can use the > standard DOM API eg: > String str = > element.getAttributeNS(null,"the-attribute"); > > Cheers > Tonny Kohar Take a look at my blog: http://jroller.com/page/Templth/ (old: http://templth.blogspot.com/) _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
