Directory tree

Each directory opened with the List Directory action is represented by an application with its own tree.

A tree has the following structure.

<fs title=”…” driver=”…” name=”…”>
    <directory path=”…” count=”…”>
        <item name=”…” size=”…” extension=”…” type=”…” created=”…” modified=”….”>
        <item name=”…” size=”…” extension=”…” type=”…” created=”…” modified=”….”>
        <item name=”…” size=”…” extension=”…” type=”…” created=”…” modified=”….”>
        ….

The following tables define the nodes (also known as elements), attributes, and child elements in the tree.

fs Node

Description

Type

title

Title of the application. This is set to the path of the directory.

attribute

driver

Fixed: fs.

attribute

name

Name of the application.

This attribute is set by the List Directory action.

attribute

directory

Represents the directory.

child element

directory Node

Description

Type

path

Contains the path used in the List Directory action.

attribute

count

Number of objects in the directory.

attribute

item

Each item element represents an object in the directory.

The order of these elements is not defined and can change after the Refresh action.

repeating child element

item Node

Description

Type

name

Name of the object.

attribute

size

Size of the object in bytes, as reported by the underlying storage.

attribute

extension

Empty for directories. The extension of the object if it is a file converted to lower case.

attribute

type

file, directory, or other.

attribute

created

The time when the object was created, as reported by the underlying storage.

This value is represented as local time in ISO 8601 notation.

attribute

modified

The time when the object was last modified, as reported by the underlying storage.

This value is represented as local time in ISO 8601 notation.

attribute