version 1.76, 2010/10/11 14:41:47
|
version 1.77, 2010/10/11 14:44:09
|
Line 148 class MpdlXmlTextServer(SimpleItem):
|
Line 148 class MpdlXmlTextServer(SimpleItem):
|
result =pagedom.xpath("//result/resultPage/") |
result =pagedom.xpath("//result/resultPage/") |
for l in result: |
for l in result: |
hrefNode= l.getAttributeNodeNS(None, u"place") |
hrefNode= l.getAttributeNodeNS(None, u"place") |
|
logging.debug("YYYY hrefNode%s"%hrefNode) |
if hrefNode: |
if hrefNode: |
href= hrefNode.nodeValue |
href= hrefNode.nodeValue |
if href.startswith('id='): |
if href.startswith('id='): |