> Note the two stars before "the_dict". This is standard Python syntax for
> expanding a mapping into keyword arguments.
>
> Stefan
>
I'm Sorry - still no luck passing a dictionary as extentions parameter
The stylesheet has a parameter:
<xsl:param name="area" select="'ost'"/>
The parameter is picked up in the transformation if I use:
transform(doc, area="'3751'")
but not when I use the_dict
transform(doc, {'area':'\"\'3751\'\"'}) or any other variant of a dictionary or
a dict_variable I can think of!
Try
transform(doc, **{'area':"3751"})
Note the two stars, read up on python syntax on function calling and
keyword parameters.