Joe D. Williams wrote:
> I would like a menu that displays links to all files within a 
> given directory. The director generator can do this, but I 
> would like to use each file's "title" element rather than the 
> file's "filename" attribute.
> 
> CInclude? XInclude?
> 
> I can use the document() function in an XSL to do this, but 
> that seems inefficient.
> 
> Suggestions?

CInclude or Xinclude are the best choices here. There seems to be a
caching-issue with using the document()-function.

I havent noticed any performance issues between Cinclude and Xinclude, but
Xinclude implements a standard, and also supports the Xpointer
specification, allowing you to specify directly the title-element of the
included file.

There is also an XPathDirectoryGenerator, allowing you to peek into the
files at generator-level, but I haven't looked at it yet.

Askild
-


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to