设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

返回列表 发新帖
查看: 2062|回复: 2
打印 上一主题 下一主题

MSXML還不完善,問題太多!

[复制链接]
跳转到指定楼层
1#
发表于 2002-10-20 00:53:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在SQL2k中新加入了對XML支持,但還不完善,且問題同多發,誰有經驗拿出來大家一起分享。
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 分享淘帖 订阅订阅
2#
 楼主| 发表于 2002-10-21 21:48:00 | 只看该作者
<? xml version ="1.0">
<root xmlns="usr:schemas-microsoft-com:xml-sql"
      xmlns:dt="urn:schemas-microsoft-com:xml-dataypes"
      xmlns:sql="urn:schemas-microsoft-com:xml-sql">
      
  <Schema name = "schema"
  sql:id="inlineschema"
  sql:is-mapping-schems="1">
  
  <ElementType name ="wage" sql:relation="wage" content="empty" model="closed">
   <AttributeType name ="year"  dt:type ="i2"/>
   <AttributeType name ="month" dt:type ="ui1"/>
   <AttributeType name ="empsn" dt:type ="i2"/>
   <AttributeType name ="wage"  dt:type ="fixed.14.4"/>
   <attribute type ="year" sql:field="wage_date_year"/>
   <attribute type ="month" sql:field="wage_date_month"/>
   <attribute type ="empsn" sql:field="wage_date_month"/>
   <attribute type ="wage" sql:field="wage_sum"/>   
  </ElementType>
</Schema>

<sql:xpath-query mapping-schema="#inlineschema">
  orders
</sql:xpath-query>
</root>
----------------------------------------------------------
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

--------------------------------------------------------------------------------
這是結果,錯從何來。
Please try the following:
Open the 192.168.1.222 home page, and then look for links to the information you want.
Click the  Refresh button, or try again later.

Click  Search to look for information on the Internet.
You can also see a list of related sites.




HTTP 500 - Internal server error
Internet Explorer  
3#
发表于 2002-10-21 22:12:00 | 只看该作者
- <root xmlns="usr:schemas-microsoft-com:xml-sql" xmlns:dt="urn:schemas-microsoft-com:xml-dataypes" xmlns:sql="urn:schemas-microsoft-com:xml-sql">
- <Schema name="schema" sql:id="inlineschema" sql:is-mapping-schems="1">
- <ElementType name="wage" sql:relation="wage" content="empty" model="closed">
  <AttributeType name="year" dt:type="i2" />
  <AttributeType name="month" dt:type="ui1" />
  <AttributeType name="empsn" dt:type="i2" />
  <AttributeType name="wage" dt:type="fixed.14.4" />
  <attribute type="year" sql:field="wage_date_year" />
  <attribute type="month" sql:field="wage_date_month" />
  <attribute type="empsn" sql:field="wage_date_month" />
  <attribute type="wage" sql:field="wage_sum" />
  </ElementType>
  </Schema>
  <?MSSQLError HResult="0x80004005" Source="Microsoft XML Extensions to SQL Server" Description="Inline schema '#inlineschema' is missing"?>
  </root>
------------------------------------------------------------
這是什麼錯誤,為什麼會這樣出錯,不明白,高手救我。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-11-16 11:22 , Processed in 0.089952 second(s), 26 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表