I'd like to convert UTF-8 numeric references into characters in the output from xmllint.
To reproduce:
$ wget http://il.srgssr.ch/integrationlayer/1.0/ue/rts/video/play/4727630.xml
$ xmllint --xpath "/Video/AssetMetadatas/AssetMetadata/title/text()" 4727630.xml && echo
Le jardin apprivoisé - Entre pierre et bois
I'd like the output to be:
Le jardin apprivoisé - Entre pierre et bois
I've read the man page and tried different options, but nothing worked.
If possible I'd like to achieve this using options from xmllint, or if this is not possible with another command line tool which is commonly found in Linux distributions.
Thanks!