更新时间:2022-02-17 05:16:42
您可以使用 xmlParseDoc()
,这将需要一个空终止(的XMLCHAR / unsigned char型)串并解析它完全一样,如果它是从使用文件xmlParseFile()$c$c>.
You can use xmlParseDoc()
, which will take a null terminated string (of xmlChar / unsigned char) and parse it exactly as if it were read from a file using xmlParseFile()
.