Asp生成xml

      Asp 2006-1-10 22:38
大家都知道Flash+Asp+Access是小型网站的完美结合,而Flash与Asp的通讯就是通过xml来完成的,而这个xml就是Asp访问数据库后生成的,下面的代码就是怎样来生成这个xml:
<?xml version="1.0" encoding="gb2312"?>
<list nowpage="<%=pagenum%>" maxpage="<%=rs.pagecount%>">
<% do while not rs.eof and e_page>0 %>
<note
id="<%=rs("id")%>"
name="<%=rs("name")%>"
sex="<%=rs("sex")%>"
email="<%=rs("email")%>"
qq="<%=rs("qq")%>"
title="<%=rs("guest_title")%>"
text="<%=rs("guest_text")%>"
time="<%=rs("time")%>"/>
<%
e_page=e_page-1
rs.movenext
loop
%>
</list>
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commenttime}{commentauthor}

{CommentUrl}
{commentcontent}