I am new to XPath, but I can see how powerful it is. I am looking at the source code of this link and simply want to extract the contents and username from the following tw
You're close. This should do it.
//head/meta[@name=\"description\"]/@content
The brackets are constraining the choice of meta tags, but you still have to specify the attribute you want.