osgearth uses tinyxml to read and write earth files

1. Reference

Special characters in XML_xml special characters_Huolong Yingtian's blog-CSDN blog

When reading and writing xml content, 5 characters will be escaped. For example, when the write attribute is &, the saved result will be &

C/C++ uses tinyxml library to operate XML format files (create, insert, delete, modify, parse)_c++ modifies xml file content_cpp_learners' blog-CSDN blog

2. Code

#include <iostream>
#include <string

Guess you like

Origin blog.csdn.net/ljjjjjjjjjjj/article/details/131834459