On Thursday 13 June 2002 12:56, Michael Kroell wrote: > On Thu, 13 Jun 2002, Kevin Stefanik wrote: > > I'm currently using stylesheet processing instructions with > > alternate="yes" and the StyleChooser::QueryString plugin but I wanted to > > get those processing instructions out of the xml file itself. > > > > Options? > > You can use Apache::AxKit::Stylechooser::Querystring in conjunction with > <AxStyleName> do to that. See > man Apache::AxKit::StyleChooser::QueryString > and > man AxKit > for details. > > Michael
You can also use StyleChoosers with PIs and set the title="whatever" attribute in the PI to match. So with QueryString if you have a query string of ?style=foo, then PIs with title="foo" will be honored if they're also marked alternate="yes". Personally the most use I've found for this is to allow tacking ?style=none onto my URL and have ALL the stylesheets be alternate and none of them match, which lets you see raw XSP output, handy for debugging... > > > > > > > > --------------------------------------------------------------------- > 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]
