MCPcopy Create free account
hub / github.com/MyGUI/mygui / namespace_uri

Function namespace_uri

UnitTests/TestApp/pugixml.cpp:7232–7249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7230};
7231
7232PUGI__FN const char_t* namespace_uri(const xml_node& node)
7233{
7234 namespace_uri_predicate pred = node.name();
7235
7236 xml_node p = node;
7237
7238 while (p)
7239 {
7240 xml_attribute a = p.find_attribute(pred);
7241
7242 if (a)
7243 return a.value();
7244
7245 p = p.parent();
7246 }
7247
7248 return PUGIXML_TEXT("");
7249}
7250
7251PUGI__FN const char_t* namespace_uri(const xml_attribute& attr, const xml_node& parent)
7252{

Callers 1

eval_stringMethod · 0.70

Calls 5

nameMethod · 0.45
valueMethod · 0.45
parentMethod · 0.45
attributeMethod · 0.45
nodeMethod · 0.45

Tested by

no test coverage detected