Progress
Version 9
Product Update Bulletin
SET-INPUT-SOURCE() Method
Specifies the source of the XML to be parsed by the SAX-READER.
Return Type: LOGICAL Applies To: SAX-READER ObjectSYNTAX
mode
A CHARACTER expression evaluating to “FILE,” “MEMPTR,” or “HANDLE,” indicating whether the XML source is a file, a MEMPTR, or the WEB-CONTEXT handle.
file
A CHARACTER expression that indicates the name of a file. This can be a relative pathname, an absolute pathname, or an HTTP URL.
memptr
A MEMPTR variable that contains the loaded XML text. The size of the MEMPTR variable must match the size of the XML text.
WEB-CONTEXT
The WEB-CONTEXT system handle. In a WebSpeed application, this directs SAX-READER to get the XML source from WEB-CONTEXT.
The following checks are not performed by SET-INPUT-SOURCE() but are performed by SAX-PARSE() at run time:
If WEB-CONTEXT is used outside of a WebSpeed environment, a run-time error is raised.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |