[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Public Identifier for the Document Type declaration.
Source position: laz2_dom.pas line 722
public property TDOMDocumentType.PublicID : DOMString |
PublicID is a read-only DOMString property which contains the public identifier for the external subset in the document type declaration. It contains the value passed as an argument to the CreateDocumentType method in TDOMImplementation, and stored in the new class instance.
PublicID was introduced in the SGML specifications (the predecessor of XML), and had an elaborate Formal Public Identifier format. For DOM and XML, the content has generally been simplified to an organization identifier and URL where the DTD is located. For example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> or <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "http://www.oasis-open.org/docbook/xml/5.0/docbookx.dtd">
Use SystemID for the location on the local file system where the DTD is stored.
Remark: | PublicID and SystemID are not validated in the DOM implementation (unlike XML). Both (or neither) of the values can be specified. URLs or local file paths are not verified. |
|
Creates a DOM Document Type using the specified arguments. |
Version 4.0 | Generated 2025-05-03 | Home |