in reply to Re: XML::twig counting elements that don't have a certain attribute/value on them
in thread XML::twig counting elements that don't have a certain attribute/value on them
$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