使用Perl脚本将xml字符串加载到xml文档和xpath中 [英] loading xml string into xml document and xpath using Perl scripts
本文介绍了使用Perl脚本将xml字符串加载到xml文档和xpath中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是Perl Script的新手.
我想将xml格式的字符串加载到xml文档中,并使用xpath解析它以获取特定的元素值.
需要指导.
在此先感谢
Hi,
I am new to Perl Scripts.
I want load a xml formatted string into xml document and parse it using xpath to fetch particular elements value.
need guidance in it.
Thanks in advance
推荐答案
请在此处查看:http://www.xml.com/pub/a/2001/05/16/perlxml.html [
Please have a look here: http://www.xml.com/pub/a/2001/05/16/perlxml.html[^]. There''s a tutorial right there that will be helpful to you in getting started.
Best Regards,
Manfred
这篇关于使用Perl脚本将xml字符串加载到xml文档和xpath中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文