Class HtmlTableParserWiki
- Namespace
- SunamoWikipedia._public.SunamoHtml.Html
- Assembly
- SunamoWikipedia.dll
Parses HTML tables from Wikipedia pages into structured data.
public class HtmlTableParserWiki
- Inheritance
-
HtmlTableParserWiki
- Inherited Members
- Extension Methods
Constructors
HtmlTableParserWiki(object, bool)
Initializes a new instance of the HtmlTableParserWiki class.
public HtmlTableParserWiki(object tableNode, bool isIncludingHeaders)
Parameters
tableNodeobjectThe HTML table node to parse.
isIncludingHeadersboolWhether to include header rows in the parsed output.
Methods
ColumnValues(string, bool, bool)
Gets the values of a specific column from the parsed table.
public List<string> ColumnValues(string columnName, bool isTrimming, bool isDecodingHtml)
Parameters
columnNamestringThe name of the column to retrieve values from.
isTrimmingboolWhether to trim whitespace from the values.
isDecodingHtmlboolWhether to HTML-decode the values.