addTitle Method

Class: HTML

Description

This method is used to create the first portion of an XML document.

Syntax

htmlObject.addTitle(String title)

Parameters

title

The name of the XML document.

Returns

The header portion of an XML formatted string. It will contain the DOCTYPE name and closing "]>" for the DTD.

When Became Available

v6.4

Example

type HTML xx = Class.new("HTML")

set return = xx.addTitle(“MRPC98”)

____________________________________________________________

The return variable contains the following lines:

<XML>

<! DOCTYPE MRPC98[

]>