How to create an XTR file from XML in Delphi XE4 using XML Mapper?(delphi中如何通过xmlmapper创建xtr文件)
2016-02-19 17:11
1476 查看
How to create an XTR file from XML in Delphi XE4 using XML Mapper?
By using Delphi XE4 RAD Studio, you can create an XTR file from the given XML file using XML Mapper. XML Mapper Tool is provided in RAD Studio XE4 under Tools -> XML Mapper.
Following are the steps to create an XTR file from XML in Delphi XE4 using XML Mapper:
1. Open the XML Mapper Tools from RAD Studio.
Now load an XML. In my case I am loading following simple XML:
ABC
XYZ
All the nodes will appear on the left section of XML Mapper.
2. Right click on left section and select "Select All Children" option. Transformation will be created on the middle section.
3. Right click on left section again and select "Create Datapacket from XML". You will see the generated datapacket on the right section
of the XML Mapper.
4. Hit "Create and Test Transformation" button in the middle section of XML Mapper.
5. Right click on the right section and select "Clear". A popup will appear asking you "Save changes to Transformation
to Datapacket?".
6. Click Yes and save that XTR file.
By using Delphi XE4 RAD Studio, you can create an XTR file from the given XML file using XML Mapper. XML Mapper Tool is provided in RAD Studio XE4 under Tools -> XML Mapper.
Following are the steps to create an XTR file from XML in Delphi XE4 using XML Mapper:
1. Open the XML Mapper Tools from RAD Studio.
Now load an XML. In my case I am loading following simple XML:
ABC
XYZ
All the nodes will appear on the left section of XML Mapper.
2. Right click on left section and select "Select All Children" option. Transformation will be created on the middle section.
3. Right click on left section again and select "Create Datapacket from XML". You will see the generated datapacket on the right section
of the XML Mapper.
4. Hit "Create and Test Transformation" button in the middle section of XML Mapper.
5. Right click on the right section and select "Clear". A popup will appear asking you "Save changes to Transformation
to Datapacket?".
6. Click Yes and save that XTR file.
相关文章推荐
- Delphi实现http发送xml文件片段
- Delphi实现毫秒级别的倒计时实例代码
- Delphi7中Listview的常用功能汇总
- 插件管理框架 for Delphi(一)
- delphi中一个值得大家来考虑的DLL问题
- Delphi实现检测并枚举系统安装的打印机的方法
- delphi 正弦曲线图
- Delphi下OpenGL2d绘图之画四边形的方法
- Delphi实现木马文件传输代码实例
- delphi建立、读取、存贮INI文件的方法《三》
- Delphi控件ListView的属性及使用方法详解
- delphi制作wav文件的方法
- Delphi下OpenGL2d绘图之画点的方法
- Delphi下OpenGL2d绘图之初始化流程详解
- Delphi实现窗体感知鼠标滑过并自动隐藏与显示窗口的方法
- Delphi实现截屏存盘的方法
- Delphi实现碰撞球体完整实例代码
- delphi建立、读取、存贮INI文件的方法《二》
- Delphi解析FTP地址的方法
- Delphi实现读取系统时间与日期完整实例