functions to search XML documents More...
#include "bxml_document.h"
Go to the source code of this file.
Functions | |
bool | bxml_matches (const bxml_element &elm, const bxml_element &query) |
Return true if elm has the same name and contains the same attributes as query. | |
bxml_data_sptr | bxml_find (const bxml_data_sptr &head, const bxml_element &query) |
Find the first element that matches. | |
bool | bxml_matches_by_name (const bxml_element &elm, const bxml_element &query) |
Return true if elm has the same name and contains the same attributes as query. | |
bxml_data_sptr | bxml_find_by_name (const bxml_data_sptr &head, const bxml_element &query) |
Find the first element that matches the query only by name. | |
vcl_vector< bxml_data_sptr > | bxml_find_all_with_name (const bxml_data_sptr &head, const bxml_element &query) |
Find all elements that match the query only by name. |
functions to search XML documents
Modifications Ozge C Ozcanli Nov 4, 2007 - added find_by_name() method
Definition in file bxml_find.h.
bxml_data_sptr bxml_find | ( | const bxml_data_sptr & | head, |
const bxml_element & | query | ||
) |
Find the first element that matches.
Definition at line 33 of file bxml_find.cxx.
vcl_vector<bxml_data_sptr> bxml_find_all_with_name | ( | const bxml_data_sptr & | head, |
const bxml_element & | query | ||
) |
Find all elements that match the query only by name.
(no check on the attribute matching)
Definition at line 87 of file bxml_find.cxx.
bxml_data_sptr bxml_find_by_name | ( | const bxml_data_sptr & | head, |
const bxml_element & | query | ||
) |
Find the first element that matches the query only by name.
(no check on the attribute matching)
Definition at line 65 of file bxml_find.cxx.
bool bxml_matches | ( | const bxml_element & | elm, |
const bxml_element & | query | ||
) |
Return true if elm has the same name and contains the same attributes as query.
Definition at line 14 of file bxml_find.cxx.
bool bxml_matches_by_name | ( | const bxml_element & | elm, |
const bxml_element & | query | ||
) |
Return true if elm has the same name and contains the same attributes as query.
Definition at line 55 of file bxml_find.cxx.