Official Content

Writes the DocType declaration of the XML document with a Public Type declaration.

Syntax

&DataType.WriteDocTypePublic(DocName, PubId, uri [ ,SubSet ] )

Where:
DocName
     Name of DocType

PubId
   Public Type declaration identification.

uri
   Public Type declaration uri.

SubSet
   Indicates the subset to be included in the declaration.

Description

Writes the DocType declaration of the XML document with a Public Type declaration. If a Subset is included, it is entered between brackets at the end of the declaration.

Samples

WriteDocTypePublic(‘book,‘Id’, ‘http://www.ser.com/dtd’)

Generates the following: !DOCTYPE book PUBLIC “Id” “http://www.ser.com/dtd”.

See Also

Xmlwriter Data Type
WriteDocType
WriteDocTypeSystem


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant