Public identifier
Encyclopedia
A public identifier is a document processing construct in SGML and XML
.
In HTML and XML, a public identifier is meant to be universally unique within its application scope. It typically occurs in a Document Type Declaration
.
A public identifier is meant to identify a document type that may span more than one application. A system identifier
is meant for a document type that is used exclusively in one application.
In the following Document Type Declaration, the public identifier is
XML
Extensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....
.
In HTML and XML, a public identifier is meant to be universally unique within its application scope. It typically occurs in a Document Type Declaration
Document Type Declaration
A Document Type Declaration, or DOCTYPE, is an instruction that associates a particular SGML or XML document with a Document Type Definition...
.
A public identifier is meant to identify a document type that may span more than one application. A system identifier
System identifier
A system identifier is a document processing construct introduced in the HyTime markup language as a supplement to SGML. It was subsequently incorporated into the HTML and XML markup languages....
is meant for a document type that is used exclusively in one application.
In the following Document Type Declaration, the public identifier is
-//W3C//DTD XHTML 1.0 Transitional//EN
:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">