I am creating an XML document using the Element Construction Kit API. The document comes out looking fine, however when I go to read a node's text with Javascript I find out that they are all element nodes.
How can I change these element nodes to text nodes using ECS? The only "add" option I see is .addElement(). Would I somehow have to go and define new elements and set them to be text nodes that way?
How can I change these element nodes to text nodes using ECS? The only "add" option I see is .addElement(). Would I somehow have to go and define new elements and set them to be text nodes that way?
Comment