I don't believe you:
use strict; ... my $cve_id = 'CVE-2008-3763'; my $query = "/nvd/entry[@id = $cve_id]";
This code gives me:
Possible unintended interpolation of @id in string at tmp.pl line 3. Global symbol "@id" requires explicit package name at tmp.pl line 3. Execution of tmp.pl aborted due to compilation errors.
So you're either not using strict and warnings, or you're not posting the code you're running. Either way, I don't see how you expect us to help you, if you're not forthcoming about what you're actually doing.
In reply to Re: XPath query issue...
by Corion
in thread XPath query issue...
by spstansbury
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |