getPublicId返回当前文档事件的公共标识。
GetPublicId returns the public identifier for the current document event.
例外情况是目录文件(在另一章中讨论),它将公共标识解析成系统标识。
The exception is catalog files (covered in a different chapter), which resolve public identifiers to system identifiers.
最后,DOCTYPE项允许我们引用特殊DTD,而不需要使用正式公共标识或实际的文件名。
Lastly, the DOCTYPE entry allows us to refer to a particular DTD without using the formal public identifier or an actual filename.
应用推荐