Hi,
I've created two patches that solve the problem
described in the mail below.
I share the opinion of J�rg Walter that these changes
should go into the core.
In this case one patch applies to AxKit.pm and the
other one to Provider.pm.
I can post the diffs if anyone is interested in.
Cheers,
Attila
-----Original Message-----
From: Peter, Attila
Sent: Tuesday, July 30, 2002 11:06 AM
To: '[EMAIL PROTECTED]'
Subject: Help with stylechooser
Hi,
I use <AxStyleName style> directives and a stylechooser to specify different
stylesheets for my xml data. That is ok for me unless the stylechooser
sets the Apache->notes('preferred_style') to a non-existent style
definition.
At this point the raw xml is returned to the client which is not what I
want.
Since I set the stylechooser as a fixup handler I thought about installing
an additional
fixup handler that checks if there is a corresponding AxStyleName
configuration
directive for Apache->notes('preferred_style') set by the stylechooser,
however,
this does not seem to be a good idea since at this point I do not have
access to
AxKit's config stuff.
What is the best strategy to get the #default stylesheet (when configured)
instead of
raw data in this case?
Tnx,
Attila Peter
EDS Deutschland GmbH
SMC AOS
Eisenstr. 43
65428 Ruesselsheim
mailto:[EMAIL PROTECTED]
Phone: 0049 (0) 6142 - 80 1977
Fax: 0049 (0) 6142 - 80 3030
---------------------------------------------------------------------
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]