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

    >> 本版讨论SVG, GML, X3D, VRML, VML, XAML, AVALON, Batik等基于XML的图形技术,以及有关GIS的应用。
    [返回] 计算机科学论坛XML.ORG.CN讨论区 - 高级XML应用『 SVG/GML/VRML/X3D/XAML 』 → 高手求救,这个svg图的源码是这样的,怎么就是不显示?? 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 3819 个阅读者  浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: 高手求救,这个svg图的源码是这样的,怎么就是不显示?? 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     magic_j 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:9
      积分:83
      门派:XML.ORG.CN
      注册:2006/10/16

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给magic_j发送一个短消息 把magic_j加入好友 查看magic_j的个人资料 搜索magic_j在『 SVG/GML/VRML/X3D/XAML 』的所有贴子 引用回复这个贴子 回复这个贴子 查看magic_j的博客楼主
    发贴心情 高手求救,这个svg图的源码是这样的,怎么就是不显示??

    <?xml version="1.0" encoding="UTF-8"?>
    <svg xmlns:xlink="http://www.w3.org/1999/xlink"><defs>
     <g id="start_def">
      <image x="0" y="0" width="40" height="40" xlink:href="../studio/image//start.gif"/>
     </g>
     <g id="done_def">
      <image x="0" y="0" width="40" height="40" xlink:href="../studio/image//done.gif"/>
     </g>
     <g id="decision_def">
      <polyline points="0,25 22,0 44,25 22,50 0,25" style="fill:#FFE983"/>
     </g>
     <g id="task_auto_def">
      <rect style="fill:#F4FFE0;" x="0" y="0" width="40" height="40" stroke="purple">
        <set attributeName="fill" from="#63FBFC" to="purple" begin="click" end="mouseout"/>
      </rect>
     </g>
     <g id="task_man_def">
      <rect style="fill:#63FBFC;" x="0" y="0" width="40" height="40" stroke="purple">
        <set attributeName="fill" from="#63FBFC" to="purple" begin="click" end="mouseout"/>
      </rect>
     </g>
     <g id="task_arrive_def">
      <rect style="fill:#98FFCD;" x="0" y="0" width="40" height="40" stroke="purple">
        <set attributeName="fill" from="#63FBFC" to="purple" begin="click" end="mouseout"/>
      </rect>
     </g>
     <g id="task_done_def">
      <rect style="fill:darkgray;" x="0" y="0" width="40" height="40" stroke="purple">
        <set attributeName="fill" from="#63FBFC" to="purple" begin="click" end="mouseout"/>
      </rect>
     </g>
     <g id="task_ignore_def">
      <rect style="fill:black;" x="0" y="0" width="40" height="40" stroke="purple">
        <set attributeName="fill" from="#63FBFC" to="purple" begin="click" end="mouseout"/>
      </rect>
     </g>
     <g id="task_not_arrive_def">
      <rect style="fill:white;" x="0" y="0" width="40" height="40" stroke="purple">
        <set attributeName="fill" from="#63FBFC" to="purple" begin="click" end="mouseout"/>
      </rect>
     </g>

     <g id="fork_def">
      <rect style="fill:darkgray;" x="0" y="0" width="20" height="40" stroke="darkgray">
      </rect>
     </g>
     <g id="join_def">
      <rect style="fill:darkgray;" x="0" y="0" width="30" height="40">
      </rect>
        <ellipse cx="20" cy="20" rx="20" ry="20" style="fill:darkgray"/>
       </g>
     <g id="sub_process_def">
      <circle cx="20" cy="20" r="20" style="fill:#225AD9"/>
     </g>
    </defs>
    <script><![CDATA[
     function disableMouseRight(){]]><![CDATA[
       contextMenu.removeChild(contextMenu.firstChild);]]><![CDATA[
     }]]><![CDATA[
     function clickTaskNode(evt){]]><![CDATA[
       if(get_target(evt).getAttribute('work_assign_id')!=null &&]]><![CDATA[
       get_target(evt).getAttribute('work_assign_id')!=''){]]><![CDATA[
       var work_assign_id = get_target(evt).getAttribute('work_assign_id');]]><![CDATA[
       showModalDialog("monitor/svgNodeQuery.jsp?work_assign_id="+work_assign_id,"","dialogWidth:500px;dialogHeight:200px;status:no;help:no");]]><![CDATA[
       }]]><![CDATA[
     }]]><![CDATA[
     function get_target(evt)]]><![CDATA[
     {]]><![CDATA[
         var target = evt.getTarget();]]><![CDATA[
         while (target && !target.getAttribute('id')){]]><![CDATA[
         target = target.getParentNode();]]><![CDATA[
       }]]><![CDATA[
         return target;]]><![CDATA[
     }]]><![CDATA[
    ]]></script>
    <g id="content">
    <g id="backgroud"><rect style="fill:beige;" x="0" y="0" width="2000" height="4000" stroke="beige"></rect></g>
    <g id="start0" type="start" height="40" width="40" transform="translate(147 40)" drag="true" clone="false" isDelete="true" style="opacity:1.0;">
       <use xlink:href="#start_def"/>
     </g><g id="done1" type="done" height="40" width="40" transform="translate(145 573)" drag="true" clone="false" isDelete="true" style="opacity:1.0;">
       <use xlink:href="#done_def"/>
     </g><g id="decision2" type="decision" height="50" width="44" transform="translate(147 130)" drag="true" clone="false" isDelete="true" style="opacity:1.0;">
              <!--显示判断节点名称的-->
              <text style="text-anchor:middle" font-size="14" x="20" y="-5" width="30" height="30" startOffset="0">是否对周边客户有发展收入计划?</text>
       <use xlink:href="#decision_def"/>
     </g><g id="task_man3" type="task_man" height="40" width="40" transform="translate(365 220)" drag="true" clone="false" isDelete="true" style="opacity:1.0;" work_assign_id="22013">
              <!--显示人工任务名称的-->
              <text style="text-anchor:middle" font-size="14" x="20" y="-5" width="30" height="30" startOffset="0">创建《周边客户发展收入计划》</text>
       <use xlink:href="#task_done_def"/>
     </g><g id="task_man4" type="task_man" height="40" width="40" transform="translate(147 220)" drag="true" clone="false" isDelete="true" style="opacity:1.0;" work_assign_id="22040">
              <!--显示人工任务名称的-->
              <text style="text-anchor:middle" font-size="14" x="20" y="-5" width="30" height="30" startOffset="0">创建《资源核查单》</text>
       <use xlink:href="#task_done_def"/>
     </g><g id="task_man5" type="task_man" height="40" width="40" transform="translate(147 302)" drag="true" clone="false" isDelete="true" style="opacity:1.0;" work_assign_id="22041">
              <!--显示人工任务名称的-->
              <text style="text-anchor:middle" font-size="14" x="20" y="-5" width="30" height="30" startOffset="0">审核《资源核查单》</text>
       <use xlink:href="#task_done_def"/>
     </g><g id="decision6" type="decision" height="50" width="44" transform="translate(144 365)" drag="true" clone="false" isDelete="true" style="opacity:1.0;">
              <!--显示判断节点名称的-->
              <text style="text-anchor:middle" font-size="14" x="20" y="-5" width="30" height="30" startOffset="0">是否审核通过</text>
       <use xlink:href="#decision_def"/>
     </g><g id="task_man7" type="task_man" height="40" width="40" transform="translate(146 450)" drag="true" clone="false" isDelete="true" style="opacity:1.0;" work_assign_id="22042">
              <!--显示人工任务名称的-->
              <text style="text-anchor:middle" font-size="14" x="20" y="-5" width="30" height="30" startOffset="0">核查资源并回复</text>
       <use xlink:href="#task_arrive_def"/>
     </g><g id="task_man9" type="task_man" height="40" width="40" transform="translate(145 513)" drag="true" clone="false" isDelete="true" style="opacity:1.0;">
              <!--显示人工任务名称的-->
              <text style="text-anchor:middle" font-size="14" x="20" y="-5" width="30" height="30" startOffset="0">资源建设周期是否满足客户需求</text>
       <use xlink:href="#task_not_arrive_def"/>
     </g><line id="line250" type="line" x1="166" y1="365" x2="386" y2="357" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line251" type="line" x1="386" y1="357" x2="385" y2="260" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line225_Arraw1" x1="390.1028216236557" y1="269.9479249834904" x2="385" y2="260" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line225_Arraw2" x1="380.10335298740114" y1="270.0510122890188" x2="385" y2="260" style="stroke:darkgray;stroke-width:1" drag="false"/><circle id="lineposition_18" type="lineposition" r="5" style="fill:#16B007" drag="false" isDelete="true" transform="translate(386 357)" cx="0" cy="0"/><text id="lineText225" x="276" y="361" fill="#12455" width="200" text-anchor="start" displayvalue="false" startOffset="0">false</text><line id="line254" type="line" x1="191" y1="155" x2="365" y2="240" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line231_Arraw1" x1="353.82013713779236" y1="240.10327817886565" x2="365" y2="240" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line231_Arraw2" x1="358.2094597395829" y1="231.11807661755327" x2="365" y2="240" style="stroke:darkgray;stroke-width:1" drag="false"/><text id="lineText231" x="278" y="197.5" fill="#12455" width="200" text-anchor="start" displayvalue="false" startOffset="0">false</text><line id="line258_1" type="line" x1="167" y1="80" x2="167" y2="105" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line258_2" type="line" x1="167" y1="105" x2="167" y2="105" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line258_3" type="line" x1="167" y1="105" x2="167" y2="130" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line258_Arraw1" x1="162" y1="120" x2="167" y2="130" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line258_Arraw2" x1="172" y1="120" x2="167" y2="130" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line261_1" type="line" x1="169" y1="180" x2="169" y2="200" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line261_2" type="line" x1="169" y1="200" x2="169" y2="200" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line261_3" type="line" x1="169" y1="200" x2="169" y2="220" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line261_Arraw1" x1="164" y1="210" x2="169" y2="220" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line261_Arraw2" x1="174" y1="210" x2="169" y2="220" style="stroke:darkgray;stroke-width:1" drag="false"/><text id="lineText261" x="169" y="200" fill="#12455" width="200" text-anchor="start" displayvalue="true" startOffset="0">true</text><line id="line262_1" type="line" x1="365" y1="240" x2="276" y2="240" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line262_2" type="line" x1="276" y1="240" x2="276" y2="240" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line262_3" type="line" x1="276" y1="240" x2="187" y2="240" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line262_Arraw1" x1="197" y1="235" x2="187" y2="240" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line262_Arraw2" x1="197" y1="245" x2="187" y2="240" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line264_1" type="line" x1="167" y1="260" x2="167" y2="281" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line264_2" type="line" x1="167" y1="281" x2="167" y2="281" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line264_3" type="line" x1="167" y1="281" x2="167" y2="302" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line264_Arraw1" x1="162" y1="292" x2="167" y2="302" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line264_Arraw2" x1="172" y1="292" x2="167" y2="302" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line266_1" type="line" x1="167" y1="342" x2="167" y2="353.5" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line266_2" type="line" x1="167" y1="353.5" x2="166" y2="353.5" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line266_3" type="line" x1="166" y1="353.5" x2="166" y2="365" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line266_Arraw1" x1="161" y1="355" x2="166" y2="365" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line266_Arraw2" x1="171" y1="355" x2="166" y2="365" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line284_1" type="line" x1="165" y1="553" x2="165" y2="563" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line284_2" type="line" x1="165" y1="563" x2="165" y2="563" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line284_3" type="line" x1="165" y1="563" x2="165" y2="573" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line284_Arraw1" x1="160" y1="563" x2="165" y2="573" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line284_Arraw2" x1="170" y1="563" x2="165" y2="573" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line289_1" type="line" x1="166" y1="415" x2="166" y2="432.5" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line289_2" type="line" x1="166" y1="432.5" x2="166" y2="432.5" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line289_3" type="line" x1="166" y1="432.5" x2="166" y2="450" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line289_Arraw1" x1="161" y1="440" x2="166" y2="450" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line289_Arraw2" x1="171" y1="440" x2="166" y2="450" style="stroke:darkgray;stroke-width:1" drag="false"/><text id="lineText289" x="166" y="432.5" fill="#12455" width="200" text-anchor="start" displayvalue="true" startOffset="0">true</text><line id="line290_1" type="line" x1="166" y1="490" x2="166" y2="501.5" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line290_2" type="line" x1="166" y1="501.5" x2="165" y2="501.5" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line290_3" type="line" x1="165" y1="501.5" x2="165" y2="513" style="stroke:darkgray;stroke-width:1" drag="false" isDelete="true"/><line id="line290_Arraw1" x1="160" y1="503" x2="165" y2="513" style="stroke:darkgray;stroke-width:1" drag="false"/><line id="line290_Arraw2" x1="170" y1="503" x2="165" y2="513" style="stroke:darkgray;stroke-width:1" drag="false"/>
    </g></svg>


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2006/10/25 10:25:00
     
     ncepuyuyu 帅哥哟,离线,有人找我吗?水瓶座1984-2-2
      
      
      等级:大二期末(汇编考了97分!)
      文章:59
      积分:443
      门派:XML.ORG.CN
      注册:2006/6/29

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给ncepuyuyu发送一个短消息 把ncepuyuyu加入好友 查看ncepuyuyu的个人资料 搜索ncepuyuyu在『 SVG/GML/VRML/X3D/XAML 』的所有贴子 引用回复这个贴子 回复这个贴子 查看ncepuyuyu的博客2
    发贴心情 
    1,检查你有没有装svg viewer 插件
    2,将文件保存为utf-8编码(用记事本打开,另存为,选择utf-8编码)
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2006/10/25 12:59:00
     
     GoogleAdSense水瓶座1984-2-2
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 SVG/GML/VRML/X3D/XAML 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2025/7/15 10:05:12

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

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