|
|
| version 1.95, 2010/10/13 15:47:51 | version 1.96, 2010/10/13 15:49:08 |
|---|---|
| Line 152 class MpdlXmlTextServer(SimpleItem): | Line 152 class MpdlXmlTextServer(SimpleItem): |
| #logging.debug("documentViewer getGisPlaces (text) text:%s"%(text)) | #logging.debug("documentViewer getGisPlaces (text) text:%s"%(text)) |
| pagedom = Parse(text) | pagedom = Parse(text) |
| result =pagedom.xpath("//result/resultPage/place") | result =pagedom.xpath("//result/resultPage/place") |
| logging.debug("getGisPlaces (place) text:%s"%(place)) | logging.debug("getGisPlaces (place) result:%s"%(result)) |
| for l in result: | for l in result: |
| hrefNode= l.getAttributeNodeNS(None, u"id") | hrefNode= l.getAttributeNodeNS(None, u"id") |
| logging.debug("documentViewer getGisPlaces (characterNormalization) l:%s"%(l)) | logging.debug("documentViewer getGisPlaces (characterNormalization) l:%s"%(l)) |