jake88 0 Newbie Poster

I've parsed an XML and now I'm trying to write into some elements that are text nodes. What is the best way to go about writing into these text nodes?

Ex. <tag>insert texty text here </tag>