On Sunday, November 9, 2003, at 11:06 PM, Kip Hampton wrote:
S Woodside wrote:<AxStyleName "#default"> It owuld be cool if you could give it multiple name such as: <AxStyleName "#default|rss"> which would match on default or on ?style=rss as well.
You can make a named style the default using the AxStyle directive:
<AxStyleName foo> ... Processor definitions ... </AxStyleName>
<AxStyleName bar> ... Processor definitions ... </AxStyleName>
<AxStyleName baz> ... Processor definitions ... </AxStyleName>
AxStyle foo
This causes the named style "foo" to be applied as the default, fallback style.
That's cool, but not quite what I was thinking about.
I want to be able to do something like this:
<AxStyleName "foo|bar"> AxAddProcessor ... bothgetthis.xsl </AxStyleName>
<AxStyleName "foo"> AxAddProcessor ... somethingforfooonly.xsl </AxStyleName>
<AxStyleName "bar"> AxAddProcessor ... somethingforbaronly.xsl </AxStyleName>
That's a vertical "OR" bar (|) BTW (foo OR bar)
simon
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
