XSLTools

Change of examples/Common/VerySimple/__init__.py

183:4c793cf266d8
examples/Common/VerySimple/__init__.py
     1.1 --- a/examples/Common/VerySimple/__init__.py	Fri Jul 22 20:32:51 2005 +0000
     1.2 +++ b/examples/Common/VerySimple/__init__.py	Fri Jul 22 20:39:10 2005 +0000
     1.3 @@ -85,15 +85,6 @@
     1.4          else:
     1.5              trans_xsl = self.prepare_output("structure")
     1.6  
     1.7 -        # Add information essential for in-page requests.
     1.8 -
     1.9 -        if trans.get_server_port() == "80":
    1.10 -            stylesheet_parameters["application-url"] = \
    1.11 -                "http://%s%s" % (trans.get_server_name(), trans.get_path_without_query())
    1.12 -        else:
    1.13 -            stylesheet_parameters["application-url"] = \
    1.14 -                "http://%s:%s%s" % (trans.get_server_name(), trans.get_server_port(), trans.get_path_without_query())
    1.15 -
    1.16          # Complete the response.
    1.17  
    1.18          self.send_output(trans, [trans_xsl], structure, stylesheet_parameters)