I am working on some XML import solutions for work and have learned quite a bit! I already have the basic XML import and XML rules written and it works great. However, I have come to a point where I would like to parse a string into XMLElements.
I know importXML() will import an xml file and propagate the xml structure within the InDesign document. However, I would like to know if you can do this on a string.
For example, say I have a string: "This big sly fox jumps over the dog."
This string was taken from untagged text sitting in my InDesign document somewhere. I would then like to parse that string somehow and replace that text in the document with the actual XML structure/elements extracted from the string.