SetOutput (NotesXMLProcessor - LotusScript®)

Specifies the output for the XML processor.

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

Defined in

NotesXMLProcessor

Syntax

Call notesXMLProcessor .SetOutput( output )

Parameters

output

For NotesDXLImporter this parameter is a NotesDatabase object.

For all other processes this parameter is 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 another NotesSAXParser object)
  • NotesStream
  • NotesXSLTransformer (pipelines to a NotesXSLTransformer object)

Usage

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

The output medium need not be specified for a pipeline operation where this object is the input parameter to another XML process object.

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 output data causes one of the following errors:

  • 4511 lsERR_NOTES_DXLEXPORTER_OUTPUT_OBJECT
  • 4518 lsERR_NOTES_DXLIMPORTER_OUTPUT_OBJECT
  • 4544 lsERR_NOTES_SAXPARSER_OUTPUT_OBJECT
  • 4520 lsERR_NOTESXSLT_OUTPUT_OBJECT

Example