• 全部
  • 问答

简单问题 快来看看!!!

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文件不能显示????

...全文
136 点赞 收藏 12
写回复
12 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
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是日文编码
回复
发帖
XML/XSL
创建于2007-09-28

8809

社区成员

XML/XSL相关问题讨论专区
申请成为版主
帖子事件
创建了帖子
2001-06-21 12:13
社区公告
暂无公告