Hi,
I want to create a find tool for my JSVGCanvas, so that user can zoom on a certain text in the drawing.
The svg file looks as follows:
To do it I just need to select a
text node in the SVGDocument, get the
x and
y attributes and I have the coordinates or the node on the drawing.
The problem is that when I call:
than the returned list is empty.
Same story with:
it returns null!
I tested this XPath expression with
http://ponderer.org/download/xpath/ and it works fine.
What am I doing wrong?