[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-users
Subject:    Re: == Database driven website with Cocoon ==
From:       Christian Haul <haul () dvs1 ! informatik ! tu-darmstadt ! de>
Date:       2002-09-30 11:02:48
[Download RAW message or body]

On 30.Sep.2002 -- 12:24 PM, Jerome Iffrig wrote:
> Hi all,
> 
> I went trough Leigh Dodds’ “Database driven website” tutorial (very
> interesting) and I have now a question on a slightly different architecture:
> 
> My content is NOT stored within a database – Only the PATHs to the content
> is stored therein –
> I cannot figure out (and this for a couple of weeks now) how to build a
> transformers chain for them to to lookup for the PATH of the XML docs
> (document content) and of the XSL (styles to be applied to the different
> contents) within the database and then fetch both files on the filesystem
> for then generate the final HTML document from this.

This first idea (which is not always the best) that comes to mind
would be to retrieve the path e.g. using esql and use the
util:include-uri or friends to include the document.

Another one would be to retrieve the path using one of the
DatabaseSelectActions and use the InputModule-substitution in sitemap
to read that file. (available in 2.1 (cvs) for interpreted sitemap and
2.0.4 (cvs) for compiled sitemap)

	Chris.

Please follow up summarizing your problem and which suggested solution
/ information worked for you when you consider your problem
solved. Add "SUMMARY: " to the subject line. This will make FAQ
generation and searching the list easier. In addition, it makes
helping you more fun. Thank you.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic