CreateXMLDeclNode (NotesDOMDocumentNode - LotusScript®)

Creates an XML declaration node.

Defined in

NotesDOMDocumentNode

Syntax

Set notesDOMXMLDeclNode = notesDOMDocumentNode .CreateXMLDeclNode( version$ , encoding$ , standalone$ )

Parameters

version$

String. The version number of the document.

encoding$

String. The encoding used in the document.

standalone$

String.

  • "Yes" if the document is standalone
  • "No" if the document contains external declarations

Return value

notesDOMXMLDeclNode

The new NotesDOMXMLDeclNode object.

Usage

Sets NodeName to "#xmldecl" literally.

Sets Encoding to encoding. For more information about declaration encoding, see http://www.w3.org/TR/REC-xml#NT-EncodingDecl.

Sets Standalone to standalone. For more information see "Standalone Document Declaration" at http://www.w3.org/TR/REC-xml#NT-SDDecl.

Sets Version to version. For more information about version, see http://www.w3.org/TR/REC-xml#NT-VersionInfo.