Writes the DocType declaration of the XML document.
&DataType.WriteDocType(DocName, [SubSet ] )
Name of the DocType
Indicates the subset to be included in the declaration
Extended data types: XMLWriter Data Type
Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)
Writes the DocType declaration of the XML document. If a Subset is included, it is entered between brackets at the end of the declaration.
WriteDocType(‘book’,‘!ENTITY ge “entity”’)
Generates the following:
<!DOCTYPE book [ !ENTITY ge “entity” ] >
XMLWriter Data Type