SetGenericParse
Collapse the table of content
Expand the table of content

SetGenericParse method

Sets whether to do a generic parse when loading a document.

Syntax


HRESULT retVal = object.SetGenericParse(fDoGeneric);

Parameters

fDoGeneric [in]

Type: VARIANT_BOOL

Specifies whether to do a generic parse.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

IXMLGenericParse::SetGenericParse was introduced in Microsoft Internet Explorer 6

When set to true, tokenizer and stylesheet selector parser are put into a mode where all unqualified tags are treated as generic tags and real HTML tags must be prefaced by html:namespace.

 

 

Show:
© 2016 Microsoft