Process (NotesXMLProcessor - LotusScript®)

Initiates one of the following types of XML data conversion:

  • Parses the input XML into a DOM tree using NotesDOMParser.
  • Converts Domino® data to DXL data using NotesDXLExporter.
  • Converts DXL data to Domino® data using NotesDXLImporter.
  • Calls the SAX parser event subroutines using NotesSAXParser.
  • Transforms DXL data using an XSLT style sheet using NotesXSLTransformer.
Note: This method is not in COM. Use Export in NotesDXLExporter and Import in NotesDXLImporter.

Defined in

NotesXMLProcessor

Syntax

Call notesXMLProcessor .Process

Usage

Before calling this method, you must specify the input and output for the conversion. To do this either use the processor's SetInput and SetOutput methods or use the parameters of one of the following create methods:

  • CreateDOMParser
  • CreateDXLExporter
  • CreateDXLImporter
  • CreateSAXParser
  • CreateXSLTransformer

The process method for NotesDOMParser raises the PostDOMParse event.

Before calling this method for NotesDXLImporter, set ACLImportOption, DesignImportOption, and DocumentImportOption.

Before calling this method for NotesXSLTransformer, specify the style sheet for the conversion, either through the CreateXSLTransformer parameter or the SetStyleSheet method.

A problem with the data processing causes the following errors:

  • lsERR_NOTES_DXLIMPORTER_FAILED (4522)

Note In Release 7.0, this method was enhanced to handle a DTD located at a URL. However, when using a URL, DOMParser.Process() will intermittently fail raising error #4602:"DOM parser operation failed" if the load on the server is too heavy, resulting in a time-out. If this occurs, the calling application will need to try again.

Example