ISAXDTDHandler::notationDecl Method (Compact 2013)

3/26/2014

This method receives notification of a notation declaration event. It is the responsibility of the application to record the notation for later reference. If a system identifier is present and it is a URL, the reader must resolve it fully before passing it to the application.

Syntax

HRESULT notationDecl(
  const wchar_t* pwchName, 
  int cchName, 
  const wchar_t* pwchPublicId, 
  int cchPublicId,
  const wchar_t* pwchSystemId,
  int cchSystemId
);

Parameters

  • pwchName
    [in] Pointer to the notation's name.
  • cchName
    [in] Length of the notation.
  • pwchPublicId
    [in] Pointer to the notation's public identifier or NULL (if none was given).
  • cchPublicId
    [in] Length of the public identifier.
  • pwchSystemId
    [in] Pointer to the notation's system identifier or NULL (if none was given).
  • cchSystemId
    [in] Length of the system identifier.

Return Value

  • S_OK
    Returned if no errors occur.
  • E_FAIL
    Returned if the parse should be aborted.

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

ISAXDTDHandler
ISAXDTDHandler::unparsedEntityDecl Method