Visual Studio Debugger Visualizers

Visual Studio Debugger Visualizers for Html Agility Pack DOM

Visual Studio Debugger Visualizers are containing debugger visualizers for the DOM of structurated data. This tool is young and starts with the Html Agility Pack visualizer. Additional ones will follow.

Download and Installation

Download the newest Package in the Download Center. Then copy the content of the Zip file into:

{User}My DocumentsVisual Studio 2013Visualizers


{Visual Studio install path}Common7PackagesDebuggerVisualizers

Html Agility Pack DOM Visualizer and XPath Evaluator

Allows to visualize the loaded HTML and to execute XPath expressions on arbitrary nodes in the DOM. The visualizer can be opened on varaibles of type HtmlAgilityPack.HtmlDocument and HtmlAgilityPack.HtmlNode 


Html Agility Pack Debugger Visualizer


XPath Reference

 XPath selects nodes in a document using expressions. 


XPath Expression Description
 .  Selects the current node
.. Selects the parent of the current node
 /  Selects nodes from the root node
 //  Selects nodes in the document no matter where they are
nodename Selects all nodes with the name ‘nodename’
 @attributename  Selects all attribues with the name ‘attributename’
* Matches any element node
@* Matches any attribute node
node() Matches any node
[n] Selects the n-th element, wehre n is a number. Elements are numbered starting with 1
[first()] Selects the first element
[last()] Selects the last element

XPath Samples

XPath Expression Description
 //a[starts-with(@href, ‘mailto’)]/text()  Selects Email addresses from the a links