I've created some xml tags inside my document.But now i want to get the active xml tag inside my document.
When you select the text in your document then you can see the active xml tag in the xml tree structure.
Can you get that active tag in script?
I've already tried my_doc.ActiveXMLElement and my_doc.ActiveXMLTag but they give me an error.
If you select text in a textFrame you need to look at the property
associatedXMLElements (note the 's' at the end) of the paragraph or the character or whatever you have selected. This may give you
an array of XMLItems. It depends on the structure of your Xml.