I need to get the tag name of bold applied in InDesign document. When finding bold contents in InDesign document using Find Options, its select bold contents with some hidden text (tags) as shown in the below image. If i use "select in structure" of selected text, its select wrong element (parent of all selected elements). I need to get the correct XML Element of selected text (Except hidden character). How can i get the element of selected text??