想问点关于csdn上存储xml的问题!

希偌 2002-03-10 10:45:59
csdn是怎么样用asp生成xml文件的呢?
用xml DOC生成的文件中所有的<br>和 都被过滤掉了,显示的时候根本无法正常换行和输出,你们是用什么方法的呢?最近有一个工程需要用到csdn这种技术,目前就差这点了,希望高人指点!
另外,分类专家榜从哪儿进,我想知道我可以申请做斑竹了吗?
...全文
21 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
希偌 2002-03-12
  • 打赏
  • 举报
回复
这个对XML DOC无用,改用filesystemobject了!
蝈蝈俊 2002-03-11
  • 打赏
  • 举报
回复
看下面这个函数。

Function Replacexmlchars(str)
Dim result
if (trim(str) = "") or isnull(str) then
result = str
else
result = str
result = Replace(result, "&", "&") '&
result = Replace(result, Chr(9), " ") 'TAB
result = Replace(result, Chr(32), " ") '空格
result = Replace(result, "<", "<") ' < <
result = Replace(result, ">", ">") ' >
result = Replace(result, Chr(13), " <br/> ") '回车
end if
Replacexmlchars = result
End Function

分类专家榜目前没有对外开通

545

社区成员

发帖
与我相关
我的任务
社区描述
客服专区
其他 技术论坛(原bbs)
社区管理员
  • 客服专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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