cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: generating a manifest of xml docs
Date Mon, 08 Jul 2002 21:07:59 GMT
Another way is to access the files via document() and the cocoon or 
context protocol. The first one goes back the sitemap again and should 
solve the cache problem too. The second one is only a common directory 
base (root sitemap directory), but mostly the '/', Joerg suggested, is 
the better solution.

J.Pietschmann wrote:
> icewind wrote:
>> I tried this but I ran into a problem. The output of
>> the DirectoryGenerator only gives the filename, not
>> the full path. When the stylesheet, which is in
>> another directory attempts to open the file, it cannot
>> because no XML files in the directory where the
>> stylesheet lives. Any suggestions?
> Use the two argument form: "document(@name,/)"
> Beware, Cocoon will not get changes in your docs unless
> the page expires from the cache. In general, Cocoon gurus
> recommend a three stage pipeline for this tasks.
> 1. transform <file...> to an xinclude element
> 2. xinclude processor
> 3. final transformation
> J.Pietschmann

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message