Use pugiXML to rename nodes based on a std::map
问题 I'm new to C++ but I am trying to define a standard set of node names and then map to them. For example my standard import / output schema is this: <data> <entry> <id>1</id> <description>Test</description> </entry> </data> However sometimes my XML import will be named differently so I want to create a map so it still outputs in the above format, even if the input file has this naming convention: <data> <entry> <id>1</id> <content>Test</content> </entry> </data> This code is my best guess