SetInput (NotesXMLProcessor - LotusScript®)

Specifies the input for the XML process.

Note: This method is not in COM. Use Export in NotesDXLExporter and Import in NotesDXLImporter.

Defined in

NotesXMLProcessor

Syntax

Call notesXMLProcessor .SetInput( Input )

Parameters

Input

For NotesDXLExporter this parameter is an object of the following type:

  • NotesDatabase
  • NotesDocument
  • NotesDocumentCollection
  • NotesNoteCollection

For all other processes this parameter is a string or an object of the following type:

  • NotesDOMParser (pipelines from a NotesDOMParser object)
  • NotesDXLExporter (pipelines from a NotesDXLExporter object)
  • NotesRichTextItem
  • NotesSAXParser (pipelines from a NotesSAXParser object)
  • NotesStream
  • NotesXSLTransformer (pipelines from a NotesXSLTransformer object)

Usage

This method overrides the input parameter of CreateDOMParser, CreateDXLExporter, CreateDXLImporter, CreateSAXParser, or CreateXSLTransformer.

The SetInput parameter, or the input parameter to any of the preceding methods, must be explicitly declared and strongly typed (cannot be a variant).

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.

A problem with the input data causes one of the following errors:

  • 4510 lsERR_NOTES_DXLEXPORTER_INPUT_OBJECT
  • 4517 lsERR_NOTES_DXLIMPORTER_INPUT_OBJECT
  • 4543 lsERR_NOTES_SAXPARSER_INPUT_OBJECT
  • 4519 lsERR_NOTESXSLT_INPUT_OBJECT

Example