I'm still quite new to XPath expressions. What I need is the following:
Given a META tag, take the value of the META tag's content atttribute if and only if name attribute has the value of "Subject", like this:
<meta name="Subject" content="John" />
What I have so far is:
//meta/[EMAIL PROTECTED]'Subject']
... but that will return me the META node itself if it has a "name" attribute with a value of "Subject".
Can you do something like this?
( //meta/[EMAIL PROTECTED]'Subject'] )/@content
Regards,
John
