I cannot get the value of the second attribute based on the first attribute. I am trying to get the value of the content attribute. those. 4,450from the following XML:
<meta itemprop="price" content=" 4,450" />
Tried XPath with this: //meta[@itemprop=\"price\"][@content]
But I get output similar to input XML.
source
share