Lists Home |
Date Index |
> Didier replies:
> Thanks for the pointer John. After having read the doc I noticed that it
> handles static documents (and quite well I should say), but doesn't handle
> dynamically transformed XML documents on the basis of the
> "accept" header. I
> expected to find that in cocoon but couldn't find that feature in this
> server extension. It seems that cocoon handles only the
> "user-agent" pattern
> match but not the "accept" request.
From my reading of the doco, the component in Cocoon 2 to do what
you say is a selector. Out of the box, the distribution provides a dedicated
selector for the user-agent and host HTTP headers but also has a generic
"HeaderSelector" that can be used to check any request header as part of a
Alternatively, if designing a logicsheet, you can access all the request
information via the built-in "request" environmental logicsheet.
I have found the ibm developerworks tutorials on Cocoon excellent and a
introduction if, like me, you are starting from zero. Thanks Leigh!
If there are any Cocoon 2 gurus out there, feel free to correct my
Its only a "paper" based one at the moment.