首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX 提问指南
广告
V2EX
›
问与答
PHP,有好用的 array 转 xml 的类库吗?支持 xml attributes 的
9
·
2015-10-22 19:49:14 +08:00
· 2294 次点击
这是一个创建于 3109 天前的主题,其中的信息可能已经有所发展或是发生改变。
找了一圈没找到合适的,又不想用原生的 SimpleXMLElement 重新写一遍,求个推荐。
xml
类库
attributes
PHP
3 条回复
•
2015-10-23 10:52:43 +08:00
1
fuxkcsdn
2015-10-22 23:53:21 +08:00
前天刚好工作需要自己写了个简单的 arrayToXML 函数
https://gist.github.com/b5095c523f6179fb4d1b.git
2
fuxkcsdn
2015-10-22 23:54:20 +08:00
1
贴错地址了...
<script src="
https://gist.github.com/consatan/b5095c523f6179fb4d1b.js
"></script>
3
9
OP
2015-10-23 10:52:43 +08:00
@
fuxkcsdn
干得漂亮!
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
我们的愿景
·
实用小工具
·
955 人在线
最高记录 6543
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms ·
UTC 20:41
·
PVG 04:41
·
LAX 13:41
·
JFK 16:41
Developed with
CodeLauncher
♥ Do have faith in what you're doing.