SECHtmlElemDesc Class

class SECHtmlElemDesc

SECHtmlElemDesc Allows you to describe a HTML element. You can use this in fucntions like FindElement to find a element with the provided description. The description could be in the form of a tag name or Attribute Name and Value pairs.

Defined in: WBUtilFuncs.h

Comments

See the WBExtSample in the \\SAMPLES\\TOOLKIT\\PRO\\WBEXTSAMPLE directory for a demonstration of this class.

Class Members

void  SetTagName(LPCTSTR lpszTagname)

Sets the tag name in the element description.

void  AddAttributeDesc(LPCTSTR lpszAttr, LPCTSTR lpszProp)

Add an attribute to the description.

BOOL  LookupAttribute(LPCTSTR lpszAttr, CString& strProp)

Lookup an attribute.

CString&  GetTagName()

Get the tag name of the element.