Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

SetPublicID – PB Docs 2019 – PowerBuilder Library

SetPublicID – PB Docs 2019

SetPublicID

Description

Sets the public ID of an externally referenced DTD.

Syntax

Argument

Description

pbdom_doctype_name

The name of a PBDOM_DOCTYPE object

strPublicID

A string that specifies the new public
ID

Return value

PBDOM_DOCTYPE.

Examples

Suppose you have the following DTD declaration:

The following PowerScript sets the public ID, and then gets it and
displays it in a message box:

The returned string from the GetPublicID call is:

The final DOCTYPE definition in the document is:

About Public ID

The PUBLIC ID is usually accompanied by a SYSTEM ID, so the
DOCTYPE declaration in this example (with a PUBLIC ID but no SYSTEM
ID) might be considered invalid by some parsers.

See also

GetPublicID

GetSystemID

SetSystemID


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x