Functions

docPath

Supported By

Syntax

[the] docPath of factor

docPath ( expression )

Factor and expression yield strings.

Description

The docPath function returns the path of the document with the specified name. If no such document can be found, the docPath function returns empty. In OpenXION, the locations searched for documents are determined by the documentPaths property.

Note

The docPath function is specific to OpenXION; it is not part of the XION Scripting Language Standard.

Security

To use this function, OpenXION's security settings must allow the FILE_SYSTEM_READ security key. If the required security key is denied, a script error will be triggered.

See Also

open, documentPaths, appPath, appFile, docFile, appOrDocPath, appOrDocFile