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

Function node_output_attributes

UnitTests/TestApp/pugixml.cpp:3424–3438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3422}
3423
3424PUGI__FN void node_output_attributes(xml_buffered_writer& writer, const xml_node& node, unsigned int flags)
3425{
3426 const char_t* default_name = PUGIXML_TEXT(":anonymous");
3427
3428 for (xml_attribute a = node.first_attribute(); a; a = a.next_attribute())
3429 {
3430 writer.write(' ');
3431 writer.write(a.name()[0] ? a.name() : default_name);
3432 writer.write('=', '"');
3433
3434 text_output(writer, a.value(), ctx_special_attr, flags);
3435
3436 writer.write('"');
3437 }
3438}
3439
3440PUGI__FN void node_output(
3441 xml_buffered_writer& writer,

Callers 1

node_outputFunction · 0.70

Calls 6

text_outputFunction · 0.70
first_attributeMethod · 0.45
next_attributeMethod · 0.45
writeMethod · 0.45
nameMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected