1.1 --- a/examples/Common/Dictionary/__init__.py Sun Oct 09 00:48:16 2005 +0000
1.2 +++ b/examples/Common/Dictionary/__init__.py Sun Oct 09 00:48:21 2005 +0000
1.3 @@ -113,18 +113,14 @@
1.4
1.5 trans.set_content_type(WebStack.Generic.ContentType("application/xhtml+xml", self.encoding))
1.6
1.7 - # Define the stylesheet parameters.
1.8 -
1.9 - stylesheet_parameters = {}
1.10 -
1.11 # Ensure that an output stylesheet exists.
1.12
1.13 if in_page_resource in self.in_page_resources.keys():
1.14 trans_xsl = self.prepare_fragment("words", in_page_resource)
1.15 - element_path = parameters.get("element-path", [""])[0]
1.16 - stylesheet_parameters["element-path"] = element_path
1.17 + stylesheet_parameters = self.prepare_parameters(parameters)
1.18 else:
1.19 trans_xsl = self.prepare_output("words")
1.20 + stylesheet_parameters = {}
1.21
1.22 # Complete the response.
1.23