简单问题 快来看看!!!

virtualboy 2001-06-21 12:13:00
在Temp.asp文件中有如下代码!
<?xml version="1.0" encoding="Shift_JIS"?>
<%
Response.Write "<!DOCTYPE AttributeCodeList SYSTEM ""AttributeCodeList.dtd"">"
Response.Write "<AttributeCodeList Type=""Code"" Version=""1.0"">"
Response.Write "<TypeList Count=""0"">"
Response.Write "</TypeList>"
Response.Write "<PrefList Count=""0"">"
Response.Write "</PrefList>"
Response.Write "</AttributeCodeList>"
%>

AttributeCodeList.dtd文件中代码如下:
<!ELEMENT AttributeCodeList ((TypeList, PrefList)| ErrInfo)>
<!ATTLIST AttributeCodeList
Type (Code | Err) "Code"
Version CDATA "1.0"
>

<!ELEMENT TypeList (CodeData*)>
<!ATTLIST TypeList
Count CDATA #REQUIRED
>

<!ELEMENT PrefList (CodeData*)>
<!ATTLIST PrefList
Count CDATA #REQUIRED
>

<!ELEMENT CodeData EMPTY>
<!ATTLIST CodeData
Code CDATA #REQUIRED
Name CDATA #REQUIRED
>

<!ELEMENT ErrInfo EMPTY>
<!ATTLIST ErrInfo
Code CDATA #REQUIRED
Description CDATA #IMPLIED
>

为什么Asp文件不能显示????

...全文
158 12 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
virtualboy 2001-06-27
  • 打赏
  • 举报
回复
ok
hydnoahark 2001-06-26
  • 打赏
  • 举报
回复
你的浏览器什么版本的?我的可以IE5.5
bnj 2001-06-26
  • 打赏
  • 举报
回复
try ASP.NET
virtualboy 2001-06-25
  • 打赏
  • 举报
回复
我试过了还是不行!
hydnoahark 2001-06-24
  • 打赏
  • 举报
回复
这样:
<%
response.contenttype="text/xml"
response.write "<?xml version=""1.0"" encoding=""Shift_JIS""?>"&vbcrlf
Response.Write "<!DOCTYPE AttributeCodeList SYSTEM ""AttributeCodeList.dtd"">"&vbcrlf
Response.Write "<AttributeCodeList Type=""Code"" Version=""1.0"">"&vbcrlf
Response.Write "<TypeList Count=""0"">"&vbcrlf
Response.Write "</TypeList>"&vbcrlf
Response.Write "<PrefList Count=""0"">"&vbcrlf
Response.Write "</PrefList>"&vbcrlf
Response.Write "</AttributeCodeList>"&vbcrlf
%>
virtualboy 2001-06-22
  • 打赏
  • 举报
回复
karma 2001-06-22
  • 打赏
  • 举报
回复
试试
<%Response.ContentType="text/xml"%><?xml version="1.0"?>....
karma 2001-06-22
  • 打赏
  • 举报
回复
在浏览器里看源码
^&^ 2001-06-21
  • 打赏
  • 举报
回复
试试:

encoding="gb2312"
^&^ 2001-06-21
  • 打赏
  • 举报
回复
encoding="Shift_JIS"

???????????

这是那种编码???没见过

virtualboy 2001-06-21
  • 打赏
  • 举报
回复
^&^(笑脸)
我试过了,还是不行!!

x86 2001-06-21
  • 打赏
  • 举报
回复
Shift_JIS是日文编码

8,909

社区成员

发帖
与我相关
我的任务
社区描述
XML/XSL相关问题讨论专区
社区管理员
  • XML/XSL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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