Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/91.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/lua/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript html从文件列表生成或更新xml?_Javascript_Html - Fatal编程技术网

Javascript html从文件列表生成或更新xml?

Javascript html从文件列表生成或更新xml?,javascript,html,Javascript,Html,所以我为一个朋友制作了一个javascript图像库,他希望以后能够添加新的图像。现在,我让javascript从一个xml文件(由自定义picassa导出创建)生成图库。有可能让html文件用新图像更新xml文件吗?它需要能够为格式添加一些标记并知道文件名。是否可以不使用php 谢谢如果您正在使用JavaScript解析XML文件,当他将其添加到Picassa时,该文件将更新为新内容。不要下载Picassa XML文件,您应该能够直接链接到它。尝试学习XSLT hmm谢谢-这是否需要在我完成代

所以我为一个朋友制作了一个javascript图像库,他希望以后能够添加新的图像。现在,我让javascript从一个xml文件(由自定义picassa导出创建)生成图库。有可能让html文件用新图像更新xml文件吗?它需要能够为格式添加一些标记并知道文件名。是否可以不使用php


谢谢

如果您正在使用JavaScript解析XML文件,当他将其添加到Picassa时,该文件将更新为新内容。不要下载Picassa XML文件,您应该能够直接链接到它。

尝试学习XSLT hmm谢谢-这是否需要在我完成代码设置后使用internet连接?或者它可以全部在本地运行吗?我不认为他会使用picassa,这正是我用来启动xml文件的——他只是将图像拖到文件夹中