I have a div like this:
Monthly 相关标签:
//div[@class="widget-content"]//a/@href
That should give you the href values of links that are ONLY inside the widget-content DIV.
widget-content
relative answer = XPath: find link URL by link text
"//a/@href"