uli-weltersbach / XPathTools

A Visual Studio Extension which can run any XPath and XPath function; navigates through results at the click of a button. Can show and copy any XPath incl. XML namespaces, avoiding XML namespace induced headaches. Keeps track of the current XPath via the statusbar.
41 stars 4 forks source link

Configure element attributes to be shown in path #2

Closed jho1965us closed 10 years ago

jho1965us commented 10 years ago

Make it configurable which attributes to show in the path. By default the following is shown assuming cursor is on that name attribute: code>/xs:schema/xs:element/xs:complexType/xs:sequence/xs:element[@name='MultipleLanguages']</code I would like if there was a configuring that enabled to configure it to include certain additional attributtes (when they exist) e.g.: add name attribute to any {http://www.w3.org/2001/XMLSchema}element So instead the following was shown: code>/xs:schema/xs:element<b>[@name='Config']</b/xs:complexType/xs:sequence/xs:element[@name='MultipleLanguages']b>/@name</b (also added /@name to make difference between being on an attribute and being on an element with an attribute)