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. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>