Displaying the entire XPath to the user

0
Quick question, How would i go around displaying the entire XPath to the user? To clarify- I'm not asking about how to reference attributes to a text widget, but rather i would like to display the XPath the object lives in.    Ultimately i would want something like this:
asked
1 answers
2

Give the model reflection module a try, this will provide the information in the database about the structure and entities in your app. With some logic you should be able to display the path to the entity as in the example from the question.

answered