I want to create a panel in InDesign that helps me to insert or modify an element and its attributes at once. With this I try to avoid doing the steps "New Element..." and many "New Attribute...". But I don't know how to link the panel with the XML structure to show the data in the panel every time the selection has changed in the structure.
To do this I think of the InDesign SDK example PersistentList that is nearly the same but for the actual doent. Can anybody help me?