Roxen Interactive RXML Help
<sb-menu></sb-menu>
Produces a menu from a menu file or directory listing.
Attributes
- history
Creates the menu from all the directories in the path, including the current directory.
- glob
- glob=glob-pattern1[,glob-pattern2,...]
Create a menu from the files whose name match one of the glob patterns. It searches for files in the directory specified with the path attribute or the current directory. Can be combined with the dirs and type attributes as well as the menu attribute.
- sort
- sort=variable1[variable2,...],-variable1[-variable2,...]
Sorts the result according to one or several of the available variables. The same variables that are available to the <sb-output> tag are available for sorting. A "-" put before the variable name will change the sort direction. By default the sort order is title, filename.
- type
- type=glob-pattern1,[glob-pattern2,...]
Create a menu from the files whose content type match one of the glob patterns. It searches for files in the directory specified by the path attribute or the current directory. Can be combined with the dirs and glob attributes as well as the menu attribute.
- path
- path=path
Change which directory the dirs, glob and type attributes should work on.
Note that above, selected and below may be combined.

