There is an XML file. I need to do some statistics on it (e.g. how many nodes don't have a particular attribute, etc.). I am not seeing anything that would allow me doing that right off the bat. Any suggestions? I am using XML Tree plugin for Chrome at the moment but not only it's outside of VS but it also doesn't work for me sometime.
In Visual Studio, open the File menu and select New > File. Or, use the Ctrl+N keyboard shortcut. In the New File dialog box, select XML Schema and then select Open. A new file is created.
On the File menu, point to New, and click File. Select XML File in the Templates pane and click Open. A new file is opened in the editor.
The XML Document Object Model (DOM) contains methods that allow you to use XML Path Language (XPath) navigation to query information in the DOM. You can use XPath to find a single, specific node or to find all nodes that match some criteria.
Found this thing: http://visualstudiogallery.msdn.microsoft.com/c5d4671c-2e29-4452-b039-6f931b7b1155/. Appears doing what I needed and integrates into VS IDE nicely.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With