Changing <TEXT> content of element via ExtendScript?
Hi guys, I'm trying to achieve the following:
I'm working on a script which loops through elements of a structured document and changes the <TEXT> content of certain elements. The script is running fine for the looping part: I can output the element names to console and identify the elements of which content I wish to change.
The problem is that I can't figure out how to change the actual content of the <TEXT> and I can't find the information anywhere so I figured I'd try the forum.
What methods / functions should I use to change the text content of an element?
Let's say I've got my element on a variable "elem" and start from there...
Thanks for your help in advance, it would be great if you could point me to the right direction!