Read Config.xml in Perl
来源:互联网 发布:传智播客java笔记 编辑:程序博客网 时间:2024/05/18 02:29
use XML::DOM;
my $parser = new XML::DOM::Parser;
my $doc = $parser->parsefile("config.xml");
for my $task ($doc->getElementsByTagName("Task")){
my $taskName = $task ->getAttribute("name");
my $inputInfo= $etlHop->getChildAtIndex(3);
my $inputFile= $inputInfo->getChildAtIndex(1)->getChildAtIndex(0)->getData;
}
- Read Config.xml in Perl
- perl: read in files in several ways
- <jsp-config> in web.xml
- TypeSafe config & HOCON + Read properties in java (with example)
- Event Observers defined in config.xml
- Perl read INI file
- Perl Read Configuration File
- read web.config value-
- A simple way to read an XML file in Java
- How To Read XML File In Java – (SAX Parser)
- How To Read XML File In Java – (DOM Parser)
- XML Read
- read xml
- The order of items in struts-config.xml
- 关于struts-config.xml中“plug-in”元素的问题
- Perl I/O Read & Write
- C# app.config read values
- How to Parse or Read XML File in Java >> XML Tutorial Example
- 统计多径信道模型 基本概念
- 内存泄露检查工具及相关网站
- 分集 ->
- 把字符串转换为数字,转换不成功返回NUL
- 后两个月的计划
- Read Config.xml in Perl
- vs2010 标记菜单问题
- S3C2440下clock的源码分析
- c++学习资料库
- debian6 安装及安装ssh
- 光驱HL-DT-ST DVDRAM GSA-T50N(EVEREST)
- 编程之美系列之二——寻找出现频率超过一半的数
- 注册回调机制
- 单片机英文缩写的英文全称及中文名称