GetPublicId returns the public identifier for the current document event.
getPublicId返回当前文档事件的公共标识。
The section in blue is called the public identifier, the green part is the system identifier, which is a URI.
蓝色的部分是公有标识符;绿色的部分是系统标识符,它是个URI。
Lastly, the DOCTYPE entry allows us to refer to a particular DTD without using the formal public identifier or an actual filename.
最后,DOCTYPE项允许我们引用特殊DTD,而不需要使用正式公共标识或实际的文件名。
应用推荐