I'm trying to use xmllint to parse different values out of an XML.
The tags look like this:
<attribute name="Felületkezelé" value="Painted /Festett/" />
I'm using the following XPath with xmllint and all I get is XPath set is empty:
xmllint --xpath 'string(xml/transactions/transaction/document/configuration/attribute[@name="Felületkezelés"]/@value)'
I'm expecting it to return "Painted /Festett/". I've tried escaping the semicolons.
Using recode or xmlstarlet is not an option.
How can I get the value of the tag with html entities in XPath?