This discussiondiscussion is enlightening.
At the very least, even if not ideal, you should be able to do:
xmllint --xpath "//*[local-name()='product_version']/*[local-name()='name']/text()" file.xml Or use xmlstarlet instead:
xmlstarlet sel -t -v //swid:product_version/swid:name file.xml