tags:

views:

9

answers:

0

Hi everyone. I have a problem with the Node class.

I'm parsing a XHTML To translate each string from a webpage using nekoHTml library. My problem is when I have a tag that includes other tags for example Divs inside Divs.

My problem is that I need to extract only the text, translate it and replace it but when I use the setTextContext function, the children are deleted, I need to replace only the string.

Hope you can help me, thanks