TextParser Library | ComponentOne
C1.TextParser Namespace / HtmlExtractor Class / Load Method
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.



In This Topic
    Load Method
    In This Topic
    Construct a new HtmlExtractor instance and generate all the template specification to be used by the returned extractor acording to xmlTemplate
    Syntax
    'Declaration
     
    
    Public Shared Function Load( _
       ByVal xmlTemplate As Stream _
    ) As HtmlExtractor
    'Usage
     
    
    Dim xmlTemplate As Stream
    Dim value As HtmlExtractor
     
    value = HtmlExtractor.Load(xmlTemplate)
    public static HtmlExtractor Load( 
       Stream xmlTemplate
    )
    public:
    static HtmlExtractor^ Load( 
       Stream^ xmlTemplate
    ) 

    Parameters

    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.

    Return Value

    The generated HtmlExtractor instance.
    Exceptions
    ExceptionDescription
    The exception that is thrown when one of the arguments provided to a method is not valid.
    The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
    See Also