Hi Mike!

I did a little peeking into the provider class and it seems to me, that
the way stylesheets are handled are one reason why get_dom is NOT used.

Is there anyone who ever had a custom provider where get_dom was ever called ?


Bye, Peter
WOTLmade


Mike Trotman wrote:

I've had the same experience recently for the same reasons (reading Kip's book). The use of get_dom in Content Providers is described differently in the PerlDoc or Apache::AxKit::Provider.

I've tried implementing get_dom in various ways (overriding the default)
and even if I remove the use of get_strref there - there are still other problems later on
particularly with XPathScript (maybe due to my errors).

And I'm pretty sure that using $r->pnotes will not work.

So I have stuck with get_strref until I have time to work out the subtleties of Content Providers later on.

The Perldoc does say Content providers are tricky - but I think part of the problem is possibly some inconsistencies in how other AxKit modules use get_dom, get_strref, $r->pnotes etc.



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

Reply via email to