What I want to do is to zoom in and to center the SVGCanvas on to an arbitrary graphics element. Looking at the svg browser code, I saw a code fragment where the zooming and centering task is done for text search, but it works begining from a selected GraphicsNode object. In that case, a GVTTreeWalker was used to walk down the tree looking for TextNode's whose text property match the user entered string. In my case, the use will not provide any input. An internal event in my system will trigger a search for an specific element in the DOM tree and I need to highlight it when it is found.
Can somebody help?
Thanks in advance.
Charles
On 7/10/06, Charles Abreu <[EMAIL PROTECTED]
> wrote:Hi,
How I obtain a GraphicsNode from an Element object?
Thanks,
Charles