getPublicId Method (C/C++)

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SAX2 Reference

getPublicId Method (C/C++)

Returns the public identifier for the current document event. A public identifier identifies a public domain file located in a publicly accessible place.

Syntax

HRESULT getPublicId(
   [out, retval] const wchar_t ** ppwchPublicId); 

Parameters

ppwchPublicId [out, retval]
The public identifier or Null (if none is available).

Return Values

S_OK
The value returned if the public identifier is returned successfully; Null if no public identifier is available.

See Also

getSystemId Method (C/C++)

Applies to: ISAXLocator Interface