HtmlDocumentParser Class

Alterian Email Manager 6.2.3 SDK Help File
Class that parses a HTML document
Inheritance Hierarchy
SystemObject
  DMLibrary.ParserHtmlDocumentParser

Namespace:  DMLibrary.Parser
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public class HtmlDocumentParser : IHtmlDocumentParser

The HtmlDocumentParser type exposes the following members.

Constructors
NameDescription
Public methodHtmlDocumentParser
Constructor
Top
Properties
NameDescription
Public propertyContent
Gets Content
Public propertyFilterBaseTag
Gets and sets
Public propertyFilterLinkTags
Gets and sets
Public propertyFilterOutTagsForVariable
Gets and sets whether to filter docs for element and attributes that should not have variable
Public propertyFilterStyleAndScriptTags
Gets and Sets whether to filter style and script tags
Public propertyHtmlEncoding
Gets and sets encoding of the html document
Public propertyLeftDelimiter
Override: Gets and sets left delimiter
Public propertyRightDelimiter
Override: Gets and sets right delimiter
Top
Methods
NameDescription
Public methodFilterLinks
Filters out link tags
Public methodFilterOutTagForVariableParse
Filters out all elements/attributes that are not good for variable parse
Public methodFilterStyleAndScript
Filters out script, style tags
Public methodFixDocumentContainingBasePath
Fixes document having a base path, appends base path to all relative path
Public methodGetCountForImagePathReplacements
Get count for images found in the html doc that need to be replaced with {ImagePath}
Public methodGetCountForImagePathReplacements(Boolean)
Get count for images found in the html doc that need to be replaced with {ImagePath}
Public methodGetFullImageSources
Gets list of sources found image tag in the html doc. It only returns full http/https urls, also accounts for base path
Public methodInsertImagePath
Searches html document for image tag and appends {ImagePath} to src attribue
Public methodInsertImagePath(Boolean)
Searches html document for image tag and appends {ImagePath} to src attribue
Public methodStatic memberIsUrl
Checks if provided text is a url
Top
See Also