changeset 239:1f3badb3f1e2

*** empty log message ***
author abukhman
date Mon, 11 Oct 2010 16:06:34 +0200
parents 295b691cd78d
children 7ed49e7a7edc
files MpdlXmlTextServer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Mon Oct 11 16:04:21 2010 +0200
+++ b/MpdlXmlTextServer.py	Mon Oct 11 16:06:34 2010 +0200
@@ -206,7 +206,7 @@
                       if hrefNode:
                           href=hrefNode.nodeValue
                           if href.startswith('http://chinagis.mpiwg-berlin.mpg.de'):
-                              hrefNode.nodeValue =href.replace('chinagis_REST/REST/db/chgis/mpdl','chinagis/REST/db/mpdl/name=%s'%name)
+                              hrefNode.nodeValue =href.replace('chinagis_REST/REST/db/chgis/mpdl','chinagis/REST/db/mpdl/%s'%name)
                              #hrefNode.nodeValue =href.replace('chinagis_REST/REST/db/chgis/mpdl','chinagis/REST/db/mpdl%s'%url)
                               logging.debug("YYYYY docinfo[name] %s"%docinfo['name'])
                               l.setAttributeNS(None, 'target', '_blank')