On Thursday, October 14, 2004, at 10:46 AM, [EMAIL PROTECTED] wrote:

Howdy,

see if

Apache::AxKit::Plugin::AddXSLParams

works for ya...

Bryan

Yeah, I found that one, but its actually AddXSLParams::Request and just sends a long list of parameters about the the HTTP request. It might work but what I really want (if I'm going to get away with not changing my existing XSLT) is three parameters called 'section', 'subsection' and 'id'.


Thanks for the idea.

Richard


On Thursday 14 October 2004 9:37 am, you wrote:
I'm new to AxKit and thought I'd try porting one of my existing Cocoon
(2.1) web apps to AxKit (see http://www.studios.uea.ac.uk).

The sitemap for this web app interprets the URL like this:
http://www.studios.uea.ac.uk/{section}/{subsection}/{id}

(e.g. http://www.studios.uea.ac.uk/events/past/2004-10-11 displays the
XML from:
<root>
        <section id="events">
                <subsection id="past">
                        <event id="2004-10-11">
and http://www.studios.uea.ac.uk/exits displays the XML from:
<root>
        <section id="exits">
)

Is there a way of using Apache/AxKit to match the path as if it were a
list of strings separated by '/'s and then pass those to an XSLT
stylesheet as parameters? i.e., can I implement a 'virtual directory
structure' with Apache/AxKit like I can in Cocoon?

My Cocoon setup has its XML content in one big file stored in
DOC_ROOT/content/content.{lang-code}.xml and its images stored in
DOC_ROOT/images. It establishes the user agent language and selects the
correct 'generator' and allows images to be accessed from anywhere
within the 'virtual directory structure'.


Any thoughts would be very welcome.

Cheers,
Richard


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to