Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 使用 SimpleXML 从头开始创建 XML 对象
可以使用 PHP simpleXML 创建 XML 文件吗?
是的,它可以,这要归功于 asXML方法
asXML