Function select_nodes

Summary

#include <src/pugixml.hpp>

(1) xpath_node_set select_nodes(const char_t *query, xpath_variable_set *variables=PUGIXML_NULL) const

(2) xpath_node_set select_nodes(const xpath_query &query) const

Function overload

Synopsis

#include <src/pugixml.hpp>

xpath_node_set select_nodes(const char_t *query, xpath_variable_set *variables=PUGIXML_NULL) const

Description

Select node set by evaluating XPath query.

Mentioned in

Source

Lines 12925-12929 in src/pugixml.cpp. Line 677 in src/pugixml.hpp.

PUGI__FN xpath_node_set xml_node::select_nodes(const char_t* query, xpath_variable_set* variables) const
{
    xpath_query q(query, variables);
    return q.evaluate_node_set(*this);
}

Synopsis

#include <src/pugixml.hpp>

xpath_node_set select_nodes(const xpath_query &query) const

Description

No description yet.

Mentioned in

Source

Lines 12931-12934 in src/pugixml.cpp. Line 678 in src/pugixml.hpp.

PUGI__FN xpath_node_set xml_node::select_nodes(const xpath_query& query) const
{
    return query.evaluate_node_set(*this);
}





Add Discussion as Guest

Log in