I have an element instance from which I would like to access the DocumentModel (possibly via the model element).
Is this possible?
I have an element instance from which I would like to access the DocumentModel (possibly via the model element).
Is this possible?
No, it’s not possible.
The elements would need parent pointers to get to the root of the model starting from an arbitrary element somewhere in the hierarchy.
I know that we had parent pointers in the Java API for a long time. In TS, though, we don’t have it at least since version 21.x.
Ok, thank you!