cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KOZLOV Roman <r-koz...@opencascade.com>
Subject Re: XSLT access to file structure
Date Wed, 27 Feb 2002 08:15:05 GMT
    Hi,

    Perhaps, you could use the "directory" generator. Something like this:

    <map:generator  name="directory"
src="org.apache.cocoon.generation.DirectoryGenerator" label="content"/>
. . .
    <map:match pattern="**/">
      <map:generate type="directory" src="{1}"/>
      <map:transform src="stylesheets/system/directory2html.xsl"/>
      <map:serialize/>
    </map:match>



jkoster@uhl.uiowa.edu wrote:

> I am attempting to build a site navigation bar into my web site.
> Currently I have a file in each directory that allows my xslt
> stylesheet to display the current directory structure.  My question:
> is there any way with cocoon that I could dynamicly generate that list
> to save me from hand writing it?
> thanks for your time,
> JoE
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message