Copy link to clipboard
Copied
Hi all,
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 ?
thanks,
Americo
Copy link to clipboard
Copied
We can't really help unless you post the script snippet and/or sample document that you believe to be the issue.
Copy link to clipboard
Copied
Hi Americo,
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.
HTH
Loic