Do you know where your variables are? | |
PerlMonks |
Re^2: XML::twig counting elements that don't have a certain attribute/value on themby mertserger (Curate) |
on Feb 11, 2010 at 15:09 UTC ( [id://822666]=note: print w/replies, xml ) | Need Help?? |
$qp->children( 'q[@supp != "yes"]') worked great, thanks.
I have just been told that as well as suppressed quotations the count should ignore information quotes, which are indicated by an attribute info="yes" on the <q> tag.
How do you combine two conditions? Would
$qp->children( 'q[@supp != "yes"][@info != "yes"]') work or is it done some other way?
In Section
Seekers of Perl Wisdom
|
|