SET-INPUT-SOURCE( ) method
Return type:
Applies to:
SET-INPUT-SOURCE ( mode , file memptr handle longchar )A CHARACTER expression evaluating to "FILE", "MEMPTR", "HANDLE", or "LONGCHAR" indicating whether the XML source is a file, a MEMPTR, a WEB-CONTEXT system handle, or a LONGCHAR variable.A CHARACTER expression that indicates the name of a file that contains the source XML text. This can be a relative pathname, an absolute pathname, or an HTTP URL. Any relative pathname is relative to the current working directory.A MEMPTR variable that contains the source XML text. The size of the MEMPTR variable must match the size of the XML text.A WEB-CONTEXT system handle. In a WebSpeed application, this directs SAX-reader to get the XML source from WEB-CONTEXT.A LONGCHAR variable that contains the source XML text. The size of the LONGCHAR variable must match the size of the XML text.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, the AVM raises a run-time error.
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |