新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   >>中国XML论坛<<     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> XML网站展示,XML源代码,XML编程示例。 本版仅接受原创、转贴、网站展示,具体的技术交流请前往各相关版块。
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - XML技术『 XML源码及示例(仅原创和转载) 』 → [求助]那位大侠帮忙一下:怎么解析这个XML文件?谢谢了! 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 2368 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: [求助]那位大侠帮忙一下:怎么解析这个XML文件?谢谢了! 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     bingren 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:1
      积分:57
      门派:XML.ORG.CN
      注册:2005/9/28

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给bingren发送一个短消息 把bingren加入好友 查看bingren的个人资料 搜索bingren在『 XML源码及示例(仅原创和转载) 』的所有贴子 引用回复这个贴子 回复这个贴子 查看bingren的博客楼主
    发贴心情 [求助]那位大侠帮忙一下:怎么解析这个XML文件?谢谢了!

    小弟刚学xml, 不知道怎么解析这个xml文件,望哪位大侠能帮下.
    文件是:
    <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
    <s:Schema id="RowsetSchema">
      <s:ElementType name="row" content="eltOnly" rs:CommandTimeout="30">
         <s:AttributeType name="title" rs:number="1" rs:nullable="true" s:writeunknown="true">
             <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
         </s:AttributeType>
         <s:AttributeType name="type" rs:number="2" rs:nullable="true" rs:writeunknown="true">
             <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
         </s:AttributeType>
         <s:AttributeType name="subject" rs:number="3" rs:nullable="true" rs:writeunknown="true">
             <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
         </s:AttributeType>
         <s:AttributeType name="available" rs:number="4" rs:nullable="true" rs:writeunknown="true">
             <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
         </s:AttributeType>
         <s:AttributeType name="issued" rs:number="5" rs:nullable="true" rs:writeunknown="true">
            <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
         </s:AttributeType>
         <s:AttributeType name="found" rs:number="6" rs:nullable="true" rs:writeunknown="true">
             <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
         </s:AttributeType>
         <s:AttributeType name="crea" rs:number="7" rs:nullable="true" rs:writeunknown="true">
              <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
          </s:AttributeType>
          <s:AttributeType name="format_medium" rs:number="8" rs:nullable="true" rs:writeunknown="true">
              <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
          </s:AttributeType>
         <s:AttributeType name="format_extent" rs:number="9" rs:nullable="true" rs:writeunknown="true">
               <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
          </s:AttributeType>
          <s:AttributeType name="language" rs:number="10" rs:nullable="true" rs:writeunknown="true">
              <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
          </s:AttributeType>
          <s:AttributeType name="role" rs:number="11" rs:nullable="true" rs:writeunknown="true">
              <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
          </s:AttributeType>
          <s:AttributeType name="publisher" rs:number="12" rs:nullable="true" rs:writeunknown="true">
               <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
           </s:AttributeType>
           <s:AttributeType name="identifier" rs:number="13" rs:nullable="true" rs:writeunknown="true">
                  <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="20"/>
            </s:AttributeType>
            <s:AttributeType name="description" rs:number="14" rs:nullable="true" rs:writeunknown="true">
                 <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="500"/>
             </s:AttributeType>
             <s:AttributeType name="relation" rs:number="15" rs:nullable="true" rs:writeunknown="true">
    <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
              </s:AttributeType>
              <s:AttributeType name="owner" rs:number="16" rs:nullable="true" rs:writeunknown="true">
    <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
               </s:AttributeType>
               <s:AttributeType name="source" rs:number="17" rs:nullable="true" rs:writeunknown="true">
    <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
              </s:AttributeType>
             <s:AttributeType name="contributor" rs:number="18" rs:nullable="true" rs:writeunknown="true">
                 <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
             </s:AttributeType>
             <s:AttributeType name="edition" rs:number="19" rs:nullable="true" rs:writeunknown="true">
                 <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
             </s:AttributeType>
             <s:AttributeType name="history" rs:number="20" rs:nullable="true" rs:writeunknown="true">
                 <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
             </s:AttributeType>
             <s:AttributeType name="location" rs:number="21" rs:nullable="true" rs:writeunknown="true">
    <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
             </s:AttributeType>
             <s:AttributeType name="creator" rs:number="22" rs:nullable="true" rs:writeunknown="true">
                 <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
            </s:AttributeType>
            <s:AttributeType name="technique" rs:number="23" rs:nullable="true" rs:writeunknown="true">
                 <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="100"/>
            </s:AttributeType>
            <s:AttributeType name="style" rs:number="24" rs:nullable="true" rs:writeunknown="true">
                <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="100"/>
            </s:AttributeType>
            <s:AttributeType name="atitle" rs:number="25" rs:nullable="true" rs:writeunknown="true">
                <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="50"/>
            </s:AttributeType>
           <s:extends type="rs:rowbase"/>
         </s:ElementType>
       </s:Schema>
       <rs:data>
           <z:row title="dfhgs" type="插图画" subject="政治军事" available="" issued="gsg" found="gsg" format_medium="" format_extent="" language="sg" role="sgs" publisher="" identifier="" description="" relation="fh" owner="" source="sg" contributor="" edition="sg" history="" location="" creator="sg" technique="f" style="" atitle="gsg"/>
           <z:row title="whwwwww" type="木板画" subject="政治军事" available="" issued="" found="fg" format_medium="" format_extent="" language="dh" role="" publisher="" identifier="" description="" relation="" owner="hdfh" source="" contributor="h" edition="" history="" location="" creator="" technique="" style="" atitle=""/>
           <z:row title="ddd" type="dffef" subject="" available="ddd" issued="dd" found="ddd" format_medium="" format_extent="" language="" role="dddd" publisher="" identifier="ddd" description="" relation="ddd" owner="gggg" source="" contributor="ddd" edition="" history="" location="" creator="" technique="" style="" atitle=""/>
            <z:row title="金刚经" type="壁画" subject="政治军事" available="" issued="" found="" format_medium="" format_extent="" language="西夏文" role="" publisher="" identifier="" description="" relation="" owner="" source="" contributor="" edition="" history="" location="" creator="" technique="" style="" atitle=""/>
           <z:row title="西夏佛学" type="插图画" subject="政治军事" available="" issued="" found="" format_medium="木头" format_extent="12*25" language="西夏文" role="" publisher="宁夏大学" identifier="nx1235" description="" relation="" owner="宁夏大学" source="黑水城" contributor="" edition="" history="" location="" creator="" technique="抄写" style="" atitle="西夏佛经"/>
        </rs:data>
    </xml>

       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2005/10/11 23:07:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 XML源码及示例(仅原创和转载) 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2025/1/21 18:40:12

    本主题贴数1,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    7,640.625ms