kettle 解析XML
1、准备xml文件 aaa.xml
<?xml version="1.0" encoding="UTF-8"?>
<result>
<genre>
<choice name="bm">1</choice>
<choice name="xm">张三</choice>
<choice name="xb">男</choice>
<choice name="csrq">19810101</choice>
<choice name="gmsfhm">37000000000001</choice>
<choice name="sg">178</choice>
</genre>
<genre>
<choice name="bm">2</choice>
<choice name="xm">李四</choice>
<choice name="xb">女</choice>
<choice name="csrq">19900101</choice>
<choice name="gmsfhm">37000000000002</choice>
<choice name="sg">185</choice>
</genre>
</result>
2、目的:把xml中的两组row对应的数据,解析成记录导入到oralce的人员表中
设计转换

3、设置步骤 设置步骤 XML 文件输入 参数



4、设置表输出,连接两个转换
5、执行转换
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:28
阅读量:171
阅读量:113
阅读量:46
阅读量:142