I can get transform to accept literal parameter. eg.
>>> transform = etree.XSLT(xsl_tree)
>>> result = transform(xml_tree, area="'xxx'")
But I can't get transform to accept variables!!?
I have tried:
- param = "area=\"\'xxx\'\""
- result = transform(xml_tree, param)
-
result = apply(transform(xml_tree,param))
I have altso tried to send parameter as dictionary (as I want to send more parameters than one).
What am I doing wrong?
--
Regards.
Niels Bjerre