On Wed, 30 Jan 2002, Matt Sergeant wrote: > > Can I write a Provider subclass that only handles XML document requests? > > This is a pain, because the answer at the moment is no. I originally > designed AxKit so that XML and Stylesheet providers were different things, > but it got too complex in my head and I merged them. So right now all > requests go through the same provider, which is only dependant on the > apache config mappings for a particular request. I.e it won't make any > difference if you do an AxProvider in a <Location /stylesheets> block - it > will use the provider specified for the XML requested even for the > stylesheet. Sorry. > > The aim is to clean this up a bit by allowing scheme oriented providers, > so you'll be able to map the request to xdc://some/path and have your XDC > provider pick it up, but it's still just an idea and hasn't been specced > out fully yet.
I forgot to mention - the way to do this right now is probably to write a taglib, much like ESQL does. -- <!-- Matt --> <:->Get a smart net</:-> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
