Hi. I had forgotten to retrieve the actual textNode.. thus i was mistaken.
I managed to fix it.
Thanks!
On Fri, Aug 29, 2008 at 1:16 PM, <[EMAIL PROTECTED]> wrote:
>
> Hi Lars,
>
> "Lars Eirik Rønning" <[EMAIL PROTECTED]> wrote on 08/29/2008 06:53:18
> AM:
>
>
> > I have a svg document which contains some textnodes.
> > I simple would like to replace the nodeValue (that is the text which
> > shows up),however i get some werid class cast exceptions.
> > I have simply tried to use element.setNodeValue("My new text"), but
> > this does not work.
> > When i try to use setTextContent("my text) i get some errors saying
> > this abstract method is not provided.
>
> Can you post sample code. I suspect you are calling the above
> methods on the wrong element in the DOM.
>