[]
        
(Showing Draft Content)

C1.TextParser.HtmlExtractor.Load

Load Method

Load(Stream)

Construct a new HtmlExtractor instance and generate all the template specification to be used by the returned extractor acording to xmlTemplate

Declaration
public static HtmlExtractor Load(Stream xmlTemplate)
Parameters
Type Name Description
Stream xmlTemplate

A stream containing the template specification expressed in xml to be used by the returned extractor. It contains the specification about all the placeholders regarding to the original html content also specified in the xml.

Returns
Type Description
HtmlExtractor

The generated HtmlExtractor instance.

Exceptions
Type Condition
ArgumentException
ArgumentNullException