Document id (or DocID)
The PageSeeder server allows any document – XML or binary – to be assigned a server-wide, unique, permanent identifier. This value is commonly referred to as the DocID and it has the same use case for both developers and end-users. That is, the DocID is an alternative method to folder path and filename for locating a document, like a primary key.
DocID can contain the following characters: [a-z][A-Z][0-9][-_]
The following is an example of PSML markup for the DocID:
<document level="portable"> <documentinfo> <uri docid="MDT-15" title="My Document"/> </documentinfo> ... </document>
Following are suggestions for processing DocIDs:
- Because DocIDs are unique to the domain of the URI, they might be in use but not visible to a particular project or group. Using a project-specific prefix can qualify the IDs to ensure they are unique on the server (that is,
[project-prefix]-1234
).