This content has been marked as final. Show 3 replies
Add a new XML element to the parent of the existing structure, then move the element or elements into the next element using the move method.
Thanks Ole, I know how to tag the child element like xmlElements.xmlElements, etc. but I don't know how tag contents as a parent.
Suppose you have xml tags in a
paragraphlike this, and those tags are separated by textas in this example.
If you create a parent tag for the first element, then move the second tag to the end of the parent of the first tag, the text within the second term will move with it, which is not the desired result.
2) If so, how can you specify the name of the parent tag to be applied to multiple xml tags?
NOTE: The following code will access the dialog, but I don't know how to select a tag within the dialog, or how to bypass the dialog altogether and just do something like "with selected tags, apply New Parent Element named whatever."