ILITParserHost::ExternalStylesheet

The ExternalStylesheet method accepts notification of an external stylesheet that is specified more or less independently from the document structure. For example, the <?xml-stylesheet?> processing instruction in OEB documents is an external stylesheet.

Syntax

HRESULT ExternalStylesheet(
[in] IUnknown* pTag
);

Parameters

pTag

A tag populated as if it were a <link> tag

Return Values

S_OK

E_INVALIDARG

E_OUTOFMEMORY

E_UNEXPECTED

E_FAIL

Remarks

Internally, such stylesheets are actually handled as <link> tags. This means that they are held until a <head> is found (or synthesized for this purpose).  As a result, any warnings arising from this call may not be sent to the Callback interface immediately.

See Also

© 2000 Microsoft Corporation. All rights reserved. Terms of use.