microsoft / XmlNotepad

XML Notepad provides a simple intuitive User Interface for browsing and editing XML documents.
https://microsoft.github.io/XmlNotepad/
MIT License
980 stars 207 forks source link

Copy path of an element to clipboard #258

Closed VincentD21 closed 1 year ago

VincentD21 commented 1 year ago

Hi,

is there an option to copy only the path of an element to the clipboard and not the whole element structure itself?

Otherwise, is it possible to implement this feature?

Thanks in advance, Vincent

lovettchris commented 1 year ago

One way to find the path to the selected element is to use the Find Dialog with 'Use XPath' then copy the path that shows up in the "find what" field.

VincentD21 commented 1 year ago

Thanks for the quick reply. This works for me.