xml 如何调用数据库

sutan123cool 2010-07-16 01:06:34

<?xml version="1.0" encoding="UTF-8"?>

<gallery>


<photo>
<filename>jingyi/image/201071411138.jpg</filename>
<phototitle>图片1</phototitle>
</photo>

<photo>
<filename>./img/img02.jpg</filename>
<phototitle>图片2</phototitle>
</photo>

<photo>
<filename>./img/img03.jpg</filename>
<phototitle>图片3</phototitle>
</photo>

<photo>
<filename>./img/img04.jpg</filename>
<phototitle>图片4</phototitle>
</photo>

<photo>
<filename>./img/img05.jpg</filename>
<phototitle>图片5</phototitle>
</photo>

<photo>
<filename>./img/img06.jpg</filename>
<phototitle>图片6</phototitle>
</photo>

<photo>
<filename>./img/img07.jpg</filename>
<phototitle>图片7</phototitle>
</photo>

<photo>
<filename>./img/img08.jpg</filename>
<phototitle>图片8</phototitle>
</photo>

<photo>
<filename>./img/img09.jpg</filename>
<phototitle>图片9</phototitle>
</photo>

<photo>
<filename>./img/img10.jpg</filename>
<phototitle>图片10</phototitle>
</photo>

<photo>
<filename>./img/img11.jpg</filename>
<phototitle>图片11</phototitle>
</photo>

<photo>
<filename>./img/img12.jpg</filename>
<phototitle>图片12</phototitle>
</photo>

<photo>
<filename>./img/img13.jpg</filename>
<phototitle>图片13</phototitle>
</photo>

<photo>
<filename>./img/img14.jpg</filename>
<phototitle>图片14</phototitle>
</photo>

<photo>
<filename>./img/img15.jpg</filename>
<phototitle>图片15</phototitle>
</photo>

</gallery>



我是想把这个图片,通过调用数据库 ,一一的读出,,,
请教高人指点
...全文
170 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
wqjywyg2009 2010-07-16
  • 打赏
  • 举报
回复
打错字了。。。应该是:先用ASP读取数据,,,在ASP动态生成XML,在FLASH加载XML。。。这样就可以了。。
参考:http://topic.csdn.net/u/20100519/13/aab53e21-8a6f-45eb-87c2-883cc50f1e73.html
wqjywyg2009 2010-07-16
  • 打赏
  • 举报
回复
先用ASP读取数据,,,在ASP动态生成XML,在FLASH生成,XML。。。这样就可以了。。
参考:http://topic.csdn.net/u/20100519/13/aab53e21-8a6f-45eb-87c2-883cc50f1e73.html
willhardwork 2010-07-16
  • 打赏
  • 举报
回复
用dom或者是sax
ChinaXtHuLang 2010-07-16
  • 打赏
  • 举报
回复
孟子E章 2010-07-16
  • 打赏
  • 举报
回复
xml不是数据库,你的标题写的都不对,flash提供了操作xml的方法。你可以参考ActionScript
yeyuxuan2006 2010-07-16
  • 打赏
  • 举报
回复
xml 本就是个微小数据库。
你百度下flash 读取xml
sutan123cool 2010-07-16
  • 打赏
  • 举报
回复
这个是个flash+xml 的,我是想把产品图片,通过这个flash显示出来
孟子E章 2010-07-16
  • 打赏
  • 举报
回复
这个和数据库啥关系啊。
读取xml 的内容,使用xmldom就可以了啊

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧