Copy link to clipboard
I script a function that make some xmlelement on the structure panel, I create some textframes from this but in fact this texframes are not linked to my xmlelement?
What I do wrong ?
We can't really help unless you post the script snippet and/or sample document that you believe to be the issue.
If you drag xml node onto the document, then the link between the textframe and the xml element can be found with the :
myTextFrame.associatedXMLElement which will be null if none is found or points to the xmlElement if one is found.