Perl-Sensitive Sunglasses | |
PerlMonks |
How can I force findnodes() to check value of attributes in either xpath1 or xpath2?by ravi06 (Novice) |
on Jul 19, 2013 at 11:16 UTC ( [id://1045336]=perlquestion: print w/replies, xml ) | Need Help?? |
ravi06 has asked for the wisdom of the Perl Monks concerning the following question:
The following piece of code cancatenates the result of both xpaths.
I want to first check value of Id in xapth1 and if it is not present, it should look into xpath2.
Back to
Seekers of Perl Wisdom
|
|