[Zopexmlmethods-devel] patch for using parameter faster
Brought to you by:
arielpartners,
philikon
|
From: Nicolas D. <ni...@ne...> - 2007-08-17 14:05:43
|
hi all,
I'm very glad to use this powerfull products, and for our needs, we have
improve ZopeXMLMethods to pass paramaters to XSL Stylesheet without
filling values on folder propertys. But it works only with xsltproc. (It
can be easily extended to other lib).
With our patch we can call a XSLTransformer in python script like this is:
kw = {}
kw['parameter_name'] = 'foo'
context.document.XSLTransformer(**kw)
...
<xsl:param name="parameter_name"/>
...
What is your opinion about it ?
thanks.
--
Nicolas Delaby
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com/
|