mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-17 07:48:50 +01:00
added NotAttributeNodeTest
This commit is contained in:
parent
f07e022936
commit
93ebae8f14
1 changed files with 10 additions and 0 deletions
|
@ -130,6 +130,16 @@ public:
|
|||
} // operator()
|
||||
}; // AttributeNodeTest
|
||||
|
||||
template<class string_type>
|
||||
class NotAttributeNodeTest : public NodeTest<string_type>
|
||||
{
|
||||
public:
|
||||
virtual bool operator()(const DOM::Node<string_type>& node) const
|
||||
{
|
||||
return node.getNodeType() != DOM::Node<string_type>::ATTRIBUTE_NODE;
|
||||
} // operator()
|
||||
}; // NotAttributeNodeTest
|
||||
|
||||
template<class string_type, class string_adaptor>
|
||||
class ProcessingInstructionNodeTest : public NodeTest<string_type>
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue