![]() |
|||
|
|||
Usage |
The _dir command is used to retrieve file and directory names from the file system. The _dir element opens the directory specified and reads entries matching a particular filemask. The path is relative to the directory in which the processor is being run. The command creates a 'dir' element in the data tree with two types of sub-elements, directory and file, and attributes which include name, size, type and extension. The 'dir' element also has an attribute "opened_ok" which is set to 'yes' or 'no' to denote success or failure when attempting to read a particular directory. Note the difference in default path and mask values between the Win32 and Linux platforms. |
||
Look at the accompanying examples to get an idea how this command can be used. |
|||
Examples | |||
Version |
1.1 |
||
Ref |
t.40 |
||
Date |
25 June 1999 |
||
XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited© Copyright 1998-2000 DecisionSoft Limited |