ChinaUnix.net
相关文章推荐:

shell xml

1。shell操作xml方便吗?比如插入数据、修改某些数据? :em14: 2。shell是否可以调用其它语言(java)写的类(间接操作xml)? :em14: 知道的朋友帮帮小弟 :idea:

by guangzongy - Web开发 - 2004-09-24 14:56:24 阅读(3426) 回复(8)

相关讨论

现有 123.xml文件,内容是: xml version="1.0" encoding="GBK"?> 呵呵 20080110 0.0 320 240 260 260 呵呵恶化和 1 Thu Jan 10 16:00:53 CST 2008 我想用...

by hyhappy - Shell - 2008-01-10 23:25:18 阅读(2636) 回复(6)

大家好: shell有什么办法生成xml文件,用windows的execl也可以打开。 比如下面一段代码: xml version="1.0"?> xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/...

by coco_andy - Shell - 2009-05-04 01:06:44 阅读(4698) 回复(7)

如果有一个xml文件,这个xml文件的内容是一个很长的字符串(只有一行),问题是如何提取其中某个节点的值啊?这个节点在xml文件中可能有多个。例如: page1page2 如果我想提取所有page节点的值: page1 page2 该如何写shell命令啊?

by pjz0311 - Shell - 2008-11-27 09:41:33 阅读(2648) 回复(8)

xml version="1.0" encoding="UTF-8"?>

xmlns:xsi="http://www.w3.org/2001/xmlSchema-instance" xsi:noNamespaceSchemaLocation="add.xsd"> 0001 wds 24 student 1984 125153052
neusoft institute of inf...

by 7717060 - Shell - 2008-01-14 11:41:45 阅读(1579) 回复(0)

设计到对多个xml文件进行element的读取和列表。有人做过么? 举个例子, 多个xml文件里面都有

xxx</titlel> </article> 通过<font color="red">shell</font>读取,然后合并到一起,再生成一个新的<font color="red">xml</font>,但是其他元素不变。 <article> <title>aaa</titlel> </article> <article> <title>bbb</titlel> </article> </p> <p class="news_tag"> </p> </div> <div class="two_con2"> by <a href="http://bbs.chinaunix.net/space-uid-1715619.html" target="_blank">someone </a> - <a href="http://bbs.chinaunix.net/forum-24-1.html" target="_blank">Shell</a> - 2006-11-20 20:51:02 阅读(1966) 回复(3) </div> <div class="two_con1"> <div class="tit5"> <h2><a href="http://bbs.chinaunix.net/thread-101446-1-1.html" target="_blank"> <font color="red">shell</font>怎样对<font color="red">xml</font>结构的文件进行编辑 </a></h2> </div> <p> <snmpelement active="true">; <snmpfields>; <host>;21.5.12.16</host>; <oidgroupname>;Interface73</oidgroupname>; <communitystring>;6rEaD</communitystring>; <port>;165</port>; <version>;1</version>; <timeout>;20</timeout>; <poll>;655</poll>; <retries>;0</retries>; <failureretests>;0</failureretests>; <retestinterval>;0</retestinterval>; <description>;yui_S4/0/0_SanYo</description>; <ext... </p> <p class="news_tag"> </p> </div> <div class="two_con2"> by <a href="http://bbs.chinaunix.net/space-uid-20065963.html" target="_blank">orderby </a> - <a href="http://bbs.chinaunix.net/forum-80-1.html" target="_blank">Web开发</a> - 2003-06-28 21:44:28 阅读(2718) 回复(3) </div> <div class="two_con1"> <div class="tit5"> <h2><a href="http://bbs.chinaunix.net/thread-401432-1-1.html" target="_blank"> 有谁知道扩展名为<font color="red">xml</font>的unix 文件,是什么程序(或<font color="red">shell</font>)的? </a></h2> </div> <p> 有谁知道扩展名为<font color="red">xml</font>的unix 文件,是什么程序(或<font color="red">shell</font>)的 </p> <p class="news_tag"> </p> </div> <div class="two_con2"> by <a href="http://bbs.chinaunix.net/space-uid-20179595.html" target="_blank">ddddddeeeeeefff </a> - <a href="http://bbs.chinaunix.net/forum-80-1.html" target="_blank">Web开发</a> - 2004-09-06 14:55:01 阅读(2133) 回复(1) </div> <div class="two_con1"> <div class="tit5"> <h2><a href="http://bbs.chinaunix.net/thread-671031-1-1.html" target="_blank"> <font color="red">xml</font> </a></h2> </div> <p> 请问那位大哥知道解析<font color="red">xml</font>的source code? 不胜感激 </p> <p class="news_tag"> </p> </div> <div class="two_con2"> by <a href="http://bbs.chinaunix.net/space-uid-20351008.html" target="_blank">yangyanqiang206 </a> - <a href="http://bbs.chinaunix.net/forum-80-1.html" target="_blank">Web开发</a> - 2005-12-18 15:10:36 阅读(1913) 回复(1) </div> <div class="two_con1"> <div class="tit5"> <h2><a href="http://bbs.chinaunix.net/thread-775157-1-1.html" target="_blank"> [<font color="red">xml</font>] 不能存储<font color="red">xml</font>? </a></h2> </div> <p> [code]$name=trim($_POST['username']); $date=date('Y-m-d H:i'); $content=trim($_POST['content']); $doc = new DOMDocument(); if(!@$doc->load( 'messages.<font color="red">xml</font>' )) { $doc->load<font color="red">xml</font>("<?<font color="red">xml</font> version=\"1.0\" encoding=\"utf-8\"?><messages></messages>"); } $subnode=$doc->createElement("message"); $named=$doc->createElement("name"); $nametext=$doc->createTextNode($name); $named->appendC... </p> <p class="news_tag"> </p> </div> <div class="two_con2"> by <a href="http://bbs.chinaunix.net/space-uid-636480.html" target="_blank">netyang </a> - <a href="http://bbs.chinaunix.net/forum-27-1.html" target="_blank">PHP</a> - 2006-06-18 11:44:01 阅读(1219) 回复(9) </div> </div> <div class="friendly_link"> <div class="friendly_con1"> <div class="f_link_tit">盛拓传媒:</div> <p><a href="http://www.it168.com">IT168</a> | <a href="http://www.pcpop.com">泡泡网</a> | <a href="http://www.autohome.com.cn">汽车之家</a> | <a href="http://www.che168.com">二手车之家</a> | <a href="http://www.qudao168.com">渠道168</a> | <a href="http://www.itpub.net/">ITPUB</a> | <a href="http://www.ixpub.net/">IXPUB</a> | <a href="http://www.chinaunix.net/">ChinaUnix</a> | <a href=" http://www.jimi168.com/">安卓之家</a> | <a href="http://www.app111.com/">苹果园</a> | <a href="http://www.gqt168.com/">家商城</a> | <a href="http://bbs.app111.com/">苹果论坛</a></p> <div class="clear"></div> </div> </div> <div id="footer"> <div class="dot1"><a href="http://www.bj.cyberpolice.cn/index.jsp" class="n1"></a><a href="http://www.hd315.gov.cn/beian/view.asp?bianhao=010202008062400006"></a><a href="http://ulic.baidu.com/client/clientDetailCerInfo.do?id=1602"></a></div> <p class="p"> <a href="http://www.it168.com/bottomfile/about.shtml" rel="nofollow">盛拓传媒简介</a> | <a href="http://www.it168.com/bottomfile/it168.shtml" rel="nofollow">关于IT168</a> | <a href="http://www.it168.com/bottomfile/hzhb.shtml" rel="nofollow">合作伙伴</a> | <a href="http://www.it168.com/bottomfile/ggfw.shtml" rel="nofollow">广告服务</a> | <a href="http://www.it168.com/bottomfile/sytk.shtml" rel="nofollow">使用条款</a> | <a href="http://www.it168.com/bottomfile/tgzn.shtml" rel="nofollow">投稿指南</a> | <a href="http://www.wintalent.cn:8031/wt5/sequelmedia/web/index" rel="nofollow">诚聘精英</a> | <a href="http://www.it168.com/bottomfile/lxwm.shtml" rel="nofollow">联系我们</a> | <a href="http://www.itpub.net/forum.php">ITPUB论坛</a> | <a href="http://www.it168.com/bottomfile/sitemap/sitemap.html" rel="nofollow">网站导航</a> | <a href="http://archive.it168.com/" rel="nofollow">往日回顾</a> </p> <address> 北京皓辰网域网络信息技术有限公司. 版权所有 <a href="http://www.it168.com/images/icp.jpg"><font color="#666666">京ICP证:060528号</font></a> 北京市公安局海淀分局网监中心备案编号:1101082001<br> <font color="#666666">广播电视节目制作经营许可证:编号(京)字第1149号</font> </address> <div style=" color:#666;margin-top:10px; text-align:right;">ITPUB推荐文章解答你所有技术难题</div> <div class="clear"> </div> </div> </div> <!-- 统计 START --> <script language="javascript" src="http://stat.it168.com/pv.js"></script> <script> function sendPV(){ var pvTrack = new PvTrack(); pvTrack.type = 35; // 频道类别ID pvTrack.channel = 461; // 频道ID pvTrack.pageType = 0; pvTrack.track(); } window.setTimeout("sendPV()", 1000); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-20237423-2']); _gaq.push(['_setDomainName', '.chinaunix.net']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <div style='display:none'> <script type="text/javascript"> var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F0ee5e8cdc4d43389b3d1bfd76e83216b' type='text/javascript'%3E%3C/script%3E")); </script></div> <!-- END STAT PV --> <!-- <script type='text/javascript' src='http://168.it168.com/js/597.js'></script> --> <script>if(typeof(BLA)!='undefined'){BLA();}</script> </body> </html>