Previous
Next
Index
Close
1.3) References
Dii files can reference each other via the concept of 'references.' A reference
denotation is placed to the right of a category denotation. Now, whenever a
user elects to view this category, the referenced dii file is loaded and shown
to the user. The elected category and the referenced dii file represent one and
the same category. Here is an example:
entertainment
/games -> games.dii
%
As seen, a reference consists of an 'arrow' followed by the address of the
referenced dii file. In the above case, the 'games' subcategory is described by
the file 'games.dii.'
References and attributes can both be defined for a category. The attributes are
to be given first, before the reference denotation:
entertainment
/games
t: title attribute
p: property attribute
-> games.dii
%
This referencing mechanism is available in a generalized form, which includes,
among other uses, references to categories in the same dii file, subcategories
of other dii files and http-addressing. This is discussed in more detail in
section 2.2.1.
Previous
Next
Index
Close