Share via


ISAXDeclHandler::externalEntityDecl Method (Compact 2013)

3/26/2014

This method reports a parsed external entity declaration. Only the first declaration for each entity is reported.

Syntax

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

Parameters

  • pwchName
    [in] Pointer to the name of the entity. If it is a parameter entity, the name begins with a "%".
  • cchName
    [in] Length of the entity's name string.
  • pwchPublicId
    [in] Pointer to the declared public identifier of the entity or NULL (if none is declared).
  • cchPublicId
    [in] Length of the public identifier string.
  • pwchSystemId
    [in] Pointer to the declared system identifier of the entity.
  • cchSystemId
    [in] Length of the system identifier string.

Return Value

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

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

ISAXDeclHandler
ISAXDeclHandler::internalEntityDecl Method