Thanks for your email. I think what you are trying to do is very reasonable.
Unfortunately, I won't have time to look into this for a few weeks, due
to an overwhelming
amount of paid consulting work (nice problem to have).
I am planning on putting out a new release for Zope 2.7 and Python 2.3.3
soon at that time,
and will be sure to include this requirement on the list.
Thanks,
--Craeg
Ryan Laundry wrote:
> Ive been struggling getting ZopeXMLMethods to work correctly in a zope
> python script.
>
> It’s the issue of trying to ZopeXMLMethods work with a xml string
> object and not a ‘real’ zope object like DTML method.
>
> I’m basically hooking plone to a database. Im sending an soap xml
> query to a database and turning the xml result into xhtml.
>
> Im my script I have
>
> result=context.doQuery2('gem',context.waterquery3.document_src())
>
> which returns the result xml
>
> How then do I pass this to my xsltMethod (called templatetestxform)?
>
> Wouldn’t it nice to be able to call:
>
> xhtml=context.templatetestxform.transform(result)
>
> but no dice.
>
> Ive tried to first make the result string into a DTMLmethod, but could
> only get
>
> context.manage_addDTMLMethod('aSource', '', result)
>
> which work once then complains that the object already exists. This is
> also a problem because multi users will be making searches.
>
> Could anyone help me out?
>
> Thanks-
>
> Ryan
>
|