当前位置:首页 » 多媒体相关

xml问题


<?xml   version="1.0"   encoding="gb2312"?>  
  <tree>  
      <entity   id="e1">  
          <description>在线杂志</description>  
          <image>images/book.gif</image>  
          <imageopen>images/bookopen.gif</imageopen>  
          <contents>  
              <entity   id="e2">  
                  <description>第十二期</description>  
                  <image>images/book.gif</image>  
                  <imageopen>images/bookopen.gif</imageopen>  
                  <onclick></onclick>  
                  <contents>  
                      <entity   id="e3">  
                          <description>组件对象模型</description>  
                          <image>images/book.gif</image>  
                          <imageopen>images/bookopen.gif</imageopen>  
                          <onclick></onclick>  
                          <contents>  
                              <entity   id="e4">  
                                  <description>ole   编程</description>  
                                  <image>images/paper.gif</image>  
                                  <imageopen>images/paper.gif</imageopen>  
                                  <onclick></onclick>  
                                  <contents/>  
                              </entity>  
                              <entity   id="e5">  
                                  <description>atl编程</description>  
                                  <image>images/book.gif</image>  
                                  <imageopen>images/bookopen.gif</imageopen>  
                                  <onclick></onclick>  
                      <contents>  
                          <entity   id="e51">  
                              <description>ole   编程</description>  
                              <image>images/paper.gif</image>  
                              <imageopen>images/paper.gif</imageopen>  
                              <onclick></onclick>  
                              <contents/>  
                          </entity>  
                          <entity   id="e52">  
                              <description>atl编程</description>  
                              <image>images/paper.gif</image>  
                              <imageopen>images/paper.gif</imageopen>  
                              <onclick></onclick>  
                              <contents/>  
                          </entity>  
                      </contents>  
                              </entity>  
                          </contents>  
                      </entity>  
                      <entity   id="e3">  
                          <description>dotnet框架</description>  
                          <image>images/book.gif</image>  
                          <imageopen>images/bookopen.gif</imageopen>  
                          <onclick></onclick>  
                          <contents>  
                              <entity   id="e4">  
                                  <description>c#   编程</description>  
                                  <image>images/paper.gif</image>  
                                  <imageopen>images/paper.gif</imageopen>  
                                  <onclick></onclick>  
                                  <contents/>  
                              </entity>  
                              <entity   id="e5">  
                                  <description>数据库编程</description>  
                                  <image>images/paper.gif</image>  
                                  <imageopen>images/paper.gif</imageopen>  
                                  <onclick></onclick>  
                                  <contents/>  
                              </entity>  
                          </contents>  
                      </entity>  
                  </contents>  
              </entity>  
              <entity   id="e2">  
                  <description>第十三期</description>  
                  <image>images/book.gif</image>  
                  <imageopen>images/bookopen.gif</imageopen>  
                  <onclick></onclick>  
                  <contents>  
                      <entity   id="e3">  
                          <description>组件对象模型</description>  
                          <image>images/book.gif</image>  
                          <imageopen>images/bookopen.gif</imageopen>  
                          <onclick></onclick>  
                          <contents>  
                              <entity   id="e4">  
                                  <description>ole   编程</description>  
                                  <image>images/paper.gif</image>  
                                  <imageopen>images/paper.gif</imageopen>  
                                  <onclick>www.vckbase.com/index.html</onclick>  
                                  <contents/>  
                              </entity>  
                              <entity   id="e5">  
                                  <description>atl编程</description>  
                                  <image>images/paper.gif</image>  
                                  <imageopen>images/paper.gif</imageopen>  
                                  <onclick>www.vckbase.com/index.html</onclick>  
                                  <contents/>  
                              </entity>  
                          </contents>  
                      </entity>  
                      <entity   id="e3">  
                          <description>dotnet框架</description>  
                          <image>images/book.gif</image>  
                          <imageopen>images/bookopen.gif</imageopen>  
                          <onclick></onclick>  
                          <contents>  
                              <entity   id="e4">  
                                  <description>c#   编程</description>  
                                  <image>images/paper.gif</image>  
                                  <imageopen>images/paper.gif</imageopen>  
                                  <onclick></onclick>  
                                  <contents/>  
                              </entity>  
                              <entity   id="e5">  
                                  <description>数据库编程</description>  
                                  <image>images/paper.gif</image>  
                                  <imageopen>images/paper.gif</imageopen>  
                                  <onclick></onclick>  
                                  <contents/>  
                              </entity>  
                          </contents>  
                      </entity>  
                  </contents>  
              </entity>  
          </contents>  
      </entity>  
  </tree>  
   
     
     
   
   
   
   
    问一个小问题,拜托哪位大哥给解答一下。  
  在这个示例中怎样设置“目录项”到“具体内容页面”的链接?  
  例如想要当我点击“ole编程”后,能出现关于此内容的网页,  
  那么在哪里、怎样设置这个链接?

.

推荐阅读

  • RealPlayer新漏洞 黑客通过IE打开本地文件 [详细内容]
  • Delphi实现窗体控件自由摆布 [详细内容]
  • C65的一些使用心得 [详细内容]
  • MAXTOR发布新的经销商计划 提供本地化支持 [详细内容]
  • Delphi模拟最小化恢复关闭按纽 [详细内容]
  • 分享小E通话录音和录音存储几十条的方法 [详细内容]
  • 戴尔荣登《财富》年度最受喜爱公司排名第一 [详细内容]
  • 网友回答:

    讨论区

    Login