种类:转换;

id:AddXML

描述:Encode several fields into an XML fragment

The XML column step allows you to encode the content of a number of fields in a row in XML. This XML is added to the row in the form of a String field.

这个step,允许你把一行里的几个字段组合成一个xml格式的内容,并作为一个string字段存储到列里。

在这里编辑字段。

Content Tab

Option Description
Step name Name of the step; this name has to be unique in a single transformation
Encoding The encoding to use; this encoding is specified in the header of the XML file
Output Value The name of the new field that contains the XML
Root XML element The name of the root element in the generated element
Omit XML header Enable to not include the XML header in the output.

Fields tab

The Fields tab is where you configure the output fields and their formats. The table below describes each of the available properties for a field:

Option Description
Fieldname Name of the field
Element name The name of the element in the XML file to use
Type Type of the field can be either String, Date, or Number
Format Format mask with which to convert data; see Number Formats for a complete description of format specifiers
Length Output string is padded to this length if it is specified
Precesion The precision to use
Currency Symbol used to represent currencies like $10,000.00 or E5.000,00
Decimal A decimal point can be a "." (10,000.00) or "," (5.000,00)
Grouping A grouping can be a "," (10,000.00) or "." (5.000,00)
Null The string to use in case the field value is null.
Attribute Make this an attribute (N means : element)
Attribute parent name You can specify the name of the parent element to add the attribute to if previous parameter attribute is set to Y.
If no parent name is specified, the attribute is set in the parent element. See also : PDI-1223

转载于:https://www.cnblogs.com/aomi/archive/2013/05/24/3096616.html

PDI的steps:(5:Add XML)相关推荐

  1. xml不显示css样式_如何使用CSS显示XML?

    xml不显示css样式 Introduction: 介绍: You must be aware of the term XML and must have dealt with these vario ...

  2. ssis导入xml_使用SSIS包将XML文档导入SQL Server表

    ssis导入xml This article guides you through importing XML documents into SQL tables using SSIS package ...

  3. eclipse hibernate配置文件(*.hbm.xml)加上自动提示功能

    转自:https://blog.csdn.net/u012217085/article/details/17397843?utm_source=blogkpcl3 1. 标签:hibernate 在编 ...

  4. 如何解决java.lang.NoClassDefFoundError:Java 9中的javax / xml / bind / JAXBException

    本文翻译自:How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException in Java 9 I have s ...

  5. java bean与xml转换_Java Bean与xml互相转换的方法分析

    本文实例讲述了Java Bean与xml互相转换的方法.分享给大家供大家参考,具体如下: XML和Java Bean互相转换是一个很有用的功能,因为两者有着前后合作的关系,但解析的过程比较痛苦.下面介 ...

  6. 在MyEclipse中添加 XML Catalog (xwork-validator dtd )

    原因是http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd已经不是dtd约束文件了, 打开网址,发现opensymphony的网址已经 ...

  7. 编辑xml文件时不能自动提示问题的解决

    解决方法: 1.下载(保存)http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd 文件. 2.在eclipse中 Windows ==> Prefere ...

  8. 在Eclipse中导入dtd和xsd文件,使XML自动提示

    DTD 类型约束文件      1. Window->Preferences->XML->XML Catalog->User Specified Entries窗口中,选择Ad ...

  9. 使用.NET读取XML文件

    介绍 本文中我将介绍在ASP.NET应用程序中如何读取XML文件,这是一个十分有用的技巧.使用这个技巧,我们能够定制我们的应用程序的配置文件,也可以读取那些保存在XML文件中的数据. 概论 下面的代码 ...

最新文章

  1. 线粒体|GetOrganelle组装软件
  2. 决策树剪枝的方法与必要性
  3. android: 在android studio中使用retrolambda的步骤
  4. python爬虫能干什么-总算发现python爬虫能够干什么
  5. 6 Springboot 整合Redis
  6. activeMQ的三种通讯模式
  7. 《C程序设计语言》笔记 (五) 指针与数组
  8. TreeSet(不可重复,自动排序)实现自定义排序
  9. 基本数据类型的包装类和随机数
  10. 【硬见小百科】数字万用表的工作原理
  11. 自然语言处理 | (30) 文本相似度计算与文本匹配问题
  12. 历史库存sap_SAP历史库存MB5B的详解
  13. 邮件中的抄送和密送的区别
  14. android+串口+键盘,串口转USB HID键盘鼠标方案
  15. OpenWrt之DNS域名解析系统(/etc/resolv.conf)
  16. z77主板升级nvme,迁移系统,蓝屏解决方法
  17. [ Arduino+Python ] 做一个串口屏,显示CPU使用率
  18. 手机号 mysql 索引_mysql索引以及优化
  19. 鸡腿的笑话--鸡腿篇
  20. 利器 | Java 接口自动化测试首选方案:REST Assured 实践 (一)

热门文章

  1. 计算机模拟与生态工程,2018年环境生态工程专业分析及就业前景
  2. recv返回的数据过大 易语言_高性能数据传输系统的框架设计
  3. ionic4创建页面
  4. oracle报错查询动态视图,oracle基表和动态性能视图
  5. 基于android的高仿抖音,Android仿抖音列表效果
  6. jq如何获取选中option的值_如何用jQuery获得select的值
  7. python控制gpio产生固定数量的脉冲_STM32L151用dma控制GPIO口发出指定的脉冲个数的疑惑!...
  8. python图像识别数字_使用python和tensorflow从Image中识别数字
  9. android联系人添加公司,android添加联系人(直接添加到联系人数据库)
  10. tomcat 8集合memcache所需完整jar包_使用 zabbix 监控 tomcat(包含jvm监控)