In the use of the Libxml2, Use the following functions to open and store the xml file can be generated the xml file with indent.
xmlReadFile ( "in.xml" , "UTF-8" , XML_PARSE_NOBLANKS )
xmlSaveFormatFile ( "out.xml" , doc , 1 )
跟 Toy 玩自架服务器:创建 DigitalOcean Droplet
9 years ago

No comments:
Post a Comment