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

usage in vs2017 preview #15

Closed SinxHe closed 7 years ago

SinxHe commented 7 years ago

i found it is always gray in vs2017 preview, am i use it wrong? qq 20170629002050

uli-weltersbach commented 7 years ago

It will only work if your document is a valid XML document. What you're looking at is HTML, which might include some invalid syntax from an XML perspective.

SinxHe commented 7 years ago

Hope it can support html feature, after all, HTML is special XML i think. Thanks for your contribution anyway.

uli-weltersbach commented 7 years ago

XHTML is XML, and is supported by the extension. All other HTML versions allow markup which would be considered invalid XML, e.g. opening tags with no matching closing tag. So it's not possible.