CreateDOMParser (NotesSession - LotusScript®)

Creates a NotesDOMParser object.

Note: This method is new with Release 6.
Note: This method is not supported in COM.

Defined in

NotesSession

Syntax

Set notesDOMParser = notesSession .CreateDOMParser( [ input [, output ] ] )

Parameters

input

Optional. A string or an object of the following type:
  • NotesDOMParser (pipelines from another NotesDOMParser object)
  • NotesDXLExporter (pipelines from a NotesDXLExporter object)
  • NotesRichTextItem
  • NotesSAXParser (pipelines from a NotesSAXParser object)
  • NotesStream
  • NotesXSLTransformer (pipelines from a NotesXSLTransformer object)
See SetInput in the NotesXMLProcessor class for additional information.

output

Optional. An object of the following type:
  • NotesDOMParser (pipelines to another NotesDOMParser object)
  • NotesDXLExporter (pipelines to a NotesDXLExporter object)
  • NotesDXLImporter (pipelines to a NotesDXLImporter object)
  • NotesRichTextItem
  • NotesSAXParser (pipelines to a NotesSAXParser object)
  • NotesStream
  • NotesXSLTransformer (pipelines to a NotesXSLTransformer object)
See SetOutput in the NotesXMLProcessor class for additional information.

Return value

notesDOMParser

The newly created object.

Usage

You cannot explicitly read or write a NotesStream object associated with a file prior to using it for XML input or output. For example, if you write to a file then use it for XML input, you must close and reopen the NotesStream object.