getPublicId (DOMEntity - JavaScript) Gets the public identifier associated with the entity, if specified. Defined inDOMEntity SyntaxgetPublicId() : string