{"id":666,"date":"2018-01-09T20:43:23","date_gmt":"2018-01-10T01:43:23","guid":{"rendered":"https:\/\/www.baronsoftware.com\/Blog\/?p=666"},"modified":"2018-01-09T20:43:23","modified_gmt":"2018-01-10T01:43:23","slug":"using-delphi-xml-mapper","status":"publish","type":"post","link":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/","title":{"rendered":"Using Delphi XML Mapper"},"content":{"rendered":"<h2 style=\"text-align: center;\">Using Delphi XML Mapper<\/h2>\n<p>Embarcadero Enterprise Studio package contains a wonderful utility that can assist any Delphi developer with the ability of importing a XML document for the sole purpose of using it within a datagrid.\u00a0 Displayed below is a simple SSH cheat XML document that was created using Excel and will be used.<\/p>\n<p>The purpose of this entire exercise to get the XML data into a clientdataset so it can be used in a datagrid.<\/p>\n<p><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" data-attachment-id=\"667\" data-permalink=\"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/xml_mapping_tool\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Tool.png?fit=912%2C690&amp;ssl=1\" data-orig-size=\"912,690\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"XML_Mapping_Tool\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Tool.png?fit=640%2C484&amp;ssl=1\" class=\"aligncenter size-medium wp-image-667\" src=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Tool.png?resize=300%2C227&#038;ssl=1\" alt=\"\" width=\"300\" height=\"227\" srcset=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Tool.png?resize=300%2C227&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Tool.png?resize=768%2C581&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Tool.png?w=912&amp;ssl=1 912w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>XML Mapper is a stand-alone tool located in the bin folder or you can click on tools and you will see the item called &#8220;XML Mapper&#8221;.\u00a0 The tool allows any type of XML document file to be converted over to a\u00a0data packet file (*.xml,*.cds), schema files (*.dtd,*.xdr,*.xsd), repository files (*.xrp) and transformation files (*.xtr), or vice versa where you can load a datapacket back into an XML file.<\/p>\n<p>Once the file is loaded, you have the ability of viewing either the document or schema view by clicking the tabs below on the left side.\u00a0 The tabs on top are DTD, XDR or XML-Schema as displayed below.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"668\" data-permalink=\"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/xml_mapping_layout\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout.png?fit=356%2C567&amp;ssl=1\" data-orig-size=\"356,567\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"XML_Mapping_Layout\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout.png?fit=356%2C567&amp;ssl=1\" class=\"aligncenter size-full wp-image-668\" src=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout.png?resize=356%2C567&#038;ssl=1\" alt=\"\" width=\"356\" height=\"567\" srcset=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout.png?w=356&amp;ssl=1 356w, https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout.png?resize=188%2C300&amp;ssl=1 188w\" sizes=\"(max-width: 356px) 100vw, 356px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2><\/h2>\n<h2 style=\"text-align: center;\">Create and test transformation<\/h2>\n<ol>\n<li>First select the radio button that indicates what the transformation creates:<\/li>\n<\/ol>\n<ul>\n<li>Choose the Datapacket to XML button if the mapping goes from data packet to XML document.<\/li>\n<li>Choose the XML to Datapacket button if the mapping goes from XML document to data packet.<\/li>\n<\/ul>\n<ol>\n<li>If you are generating a data packet, you will also want to use the radio buttons in the Create Datapacket As section. These buttons let you specify how the data packet will be used: as a dataset, as a delta packet for applying updates, or as the parameters to supply to a provider before fetching data.<\/li>\n<li>Click Create and Test Transformation to generate an in-memory version of the transformation. XML mapper displays the XML document that would be generated for the data packet in the Datapacket pane or the data packet that would be generated for the XML document in the XML Document pane.<\/li>\n<li>Finally, choose\u00a0<span style=\"color: #598527;\"><b>File &gt; Save &gt; Transformation<\/b>\u00a0<\/span>to save the transformation file. The transformation file is a special XML file (with the .xtr extension) that describes the transformation you have defined.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>The image below shows the mapping\u00a0 with the field types and the lengths.<\/p>\n<p>&nbsp;<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"669\" data-permalink=\"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/xml_mapping_layout2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout2.png?fit=543%2C582&amp;ssl=1\" data-orig-size=\"543,582\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"XML_Mapping_Layout2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout2.png?fit=543%2C582&amp;ssl=1\" class=\"aligncenter size-full wp-image-669\" src=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout2.png?resize=543%2C582&#038;ssl=1\" alt=\"\" width=\"543\" height=\"582\" srcset=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout2.png?w=543&amp;ssl=1 543w, https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout2.png?resize=280%2C300&amp;ssl=1 280w\" sizes=\"(max-width: 543px) 100vw, 543px\" \/><\/p>\n<p>Upon clicking on the button the result is displayed with the XML data mapped to the particular field.\u00a0 So now i can save this as a datapacket file and have my clientdataset read the information.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"670\" data-permalink=\"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/xml_mapping_layout3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout3.png?fit=815%2C481&amp;ssl=1\" data-orig-size=\"815,481\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"XML_Mapping_Layout3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout3.png?fit=640%2C378&amp;ssl=1\" class=\"aligncenter size-full wp-image-670\" src=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout3.png?resize=640%2C378&#038;ssl=1\" alt=\"\" width=\"640\" height=\"378\" srcset=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout3.png?w=815&amp;ssl=1 815w, https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout3.png?resize=300%2C177&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout3.png?resize=768%2C453&amp;ssl=1 768w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Here is a simple application that will display the XML on a datagrid.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"671\" data-permalink=\"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/xml_mapping_layout4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout4.png?fit=647%2C336&amp;ssl=1\" data-orig-size=\"647,336\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"XML_Mapping_Layout4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout4.png?fit=640%2C332&amp;ssl=1\" class=\"aligncenter size-full wp-image-671\" src=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout4.png?resize=640%2C332&#038;ssl=1\" alt=\"\" width=\"640\" height=\"332\" srcset=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout4.png?w=647&amp;ssl=1 647w, https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Layout4.png?resize=300%2C156&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>So just follow these simple\u00a0<b>steps to create an XTR file from XML in Delphi using XML Mapper:<\/b><\/p>\n<p><b>1.<\/b>\u00a0Open the XML Mapper Tools from RAD Studio.<\/p>\n<p><strong>2<\/strong>. Load the XML document.\u00a0 All the nodes will appear on the left section of XML Mapper.<\/p>\n<p><b>3.<\/b>\u00a0Right click on left section and select &#8220;<b>Select All Children<\/b>&#8221; option or simply click on each field.<\/p>\n<p><b>4.<\/b>\u00a0Hit &#8220;<b>Create and Test Transformation<\/b>&#8221; button in the middle section of XML Mapper.<\/p>\n<p><strong>5<\/strong>. You can than save the Datapacket to a XTR file for use in your application.\u00a0 It is that simple.<\/p>\n<h2 style=\"text-align: center;\">Click on the logo for more information<\/h2>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/docwiki.embarcadero.com\/RADStudio\/Tokyo\/en\/XML_Mapper\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"202\" data-permalink=\"https:\/\/www.baronsoftware.com\/Blog\/embarcadero-and-baron-software-powerstudio-case-study-which-monitors-sql-performance\/embarcadero-logo\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2016\/01\/Embarcadero-Logo-e1467218648875.png?fit=367%2C42&amp;ssl=1\" data-orig-size=\"367,42\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Embarcadero Logo\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2016\/01\/Embarcadero-Logo-e1467218648875.png?fit=367%2C42&amp;ssl=1\" class=\"aligncenter size-full wp-image-202\" src=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2016\/01\/Embarcadero-Logo-e1467218648875.png?resize=367%2C42&#038;ssl=1\" alt=\"Delphi\" width=\"367\" height=\"42\" srcset=\"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2016\/01\/Embarcadero-Logo-e1467218648875.png?w=367&amp;ssl=1 367w, https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2016\/01\/Embarcadero-Logo-e1467218648875.png?resize=300%2C34&amp;ssl=1 300w\" sizes=\"(max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using Delphi XML Mapper Embarcadero Enterprise Studio package contains a wonderful utility that can assist any Delphi developer with the ability of importing a XML document for the sole purpose of using it within a datagrid.\u00a0 Displayed below is a simple SSH cheat XML document that was created using Excel and will be used. The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[11,5,31],"tags":[],"class_list":["post-666","post","type-post","status-publish","format-standard","hentry","category-pc-tips-bits-bytes","category-rad-studio-embarcadero-delphi-development","category-software-development-concepts"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using Delphi XML Mapper - Baron Software<\/title>\n<meta name=\"description\" content=\"Embarcadero Enterprise Studio package contains a wonderful utility that can assist any Delphi developer with the ability of importing a XML document for the sole purpose of using it within a datagrid.\u00a0 Displayed below is a simple SSH cheat XML document that was created using Excel and will be used.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using Delphi XML Mapper\" \/>\n<meta property=\"og:description\" content=\"Embarcadero Enterprise Studio package contains a wonderful utility that can assist any Delphi developer with the ability of importing a XML document for the sole purpose of using it within a datagrid.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/\" \/>\n<meta property=\"og:site_name\" content=\"Baron Software\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-10T01:43:23+00:00\" \/>\n<meta name=\"author\" content=\"richard@baronsoftware.com\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Using Delphi XML Mapper\" \/>\n<meta name=\"twitter:description\" content=\"Embarcadero Enterprise Studio package contains a wonderful utility that can assist any Delphi developer with the ability of importing a XML document for the sole purpose of using it within a datagrid.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2014\/12\/logo.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@Rbaroniunas\" \/>\n<meta name=\"twitter:site\" content=\"@Rbaroniunas\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"richard@baronsoftware.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/\"},\"author\":{\"name\":\"richard@baronsoftware.com\",\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/#\\\/schema\\\/person\\\/079d370e4230be9d5f75885bb33dd8cd\"},\"headline\":\"Using Delphi XML Mapper\",\"datePublished\":\"2018-01-10T01:43:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/\"},\"wordCount\":537,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/XML_Mapping_Tool-300x227.png\",\"articleSection\":[\"Computer PC Tips - bits and bytes\",\"Rad Studio Delphi Development\",\"Software development Concepts\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/\",\"url\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/\",\"name\":\"Using Delphi XML Mapper - Baron Software\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/XML_Mapping_Tool-300x227.png\",\"datePublished\":\"2018-01-10T01:43:23+00:00\",\"description\":\"Embarcadero Enterprise Studio package contains a wonderful utility that can assist any Delphi developer with the ability of importing a XML document for the sole purpose of using it within a datagrid.\u00a0 Displayed below is a simple SSH cheat XML document that was created using Excel and will be used.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.baronsoftware.com\\\/Blog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/XML_Mapping_Tool.png?fit=912%2C690&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.baronsoftware.com\\\/Blog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/XML_Mapping_Tool.png?fit=912%2C690&ssl=1\",\"width\":912,\"height\":690},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/using-delphi-xml-mapper\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using Delphi XML Mapper\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/#website\",\"url\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/\",\"name\":\"Baron Software\",\"description\":\"Highest Quality Software Developed.\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/#organization\",\"name\":\"Baron Software\",\"url\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i2.wp.com\\\/www.baronsoftware.com\\\/Blog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/BaronSoftwareLogo.fw_.png?fit=1920%2C400&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i2.wp.com\\\/www.baronsoftware.com\\\/Blog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/BaronSoftwareLogo.fw_.png?fit=1920%2C400&ssl=1\",\"width\":1920,\"height\":400,\"caption\":\"Baron Software\"},\"image\":{\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/Rbaroniunas\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.baronsoftware.com\\\/Blog\\\/#\\\/schema\\\/person\\\/079d370e4230be9d5f75885bb33dd8cd\",\"name\":\"richard@baronsoftware.com\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e5a3cc457a883c420e8af899f2639359d220ae6bfed4587ca7ed17f45ca0c21c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e5a3cc457a883c420e8af899f2639359d220ae6bfed4587ca7ed17f45ca0c21c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e5a3cc457a883c420e8af899f2639359d220ae6bfed4587ca7ed17f45ca0c21c?s=96&d=mm&r=g\",\"caption\":\"richard@baronsoftware.com\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using Delphi XML Mapper - Baron Software","description":"Embarcadero Enterprise Studio package contains a wonderful utility that can assist any Delphi developer with the ability of importing a XML document for the sole purpose of using it within a datagrid.\u00a0 Displayed below is a simple SSH cheat XML document that was created using Excel and will be used.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/","og_locale":"en_US","og_type":"article","og_title":"Using Delphi XML Mapper","og_description":"Embarcadero Enterprise Studio package contains a wonderful utility that can assist any Delphi developer with the ability of importing a XML document for the sole purpose of using it within a datagrid.","og_url":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/","og_site_name":"Baron Software","article_published_time":"2018-01-10T01:43:23+00:00","author":"richard@baronsoftware.com","twitter_card":"summary_large_image","twitter_title":"Using Delphi XML Mapper","twitter_description":"Embarcadero Enterprise Studio package contains a wonderful utility that can assist any Delphi developer with the ability of importing a XML document for the sole purpose of using it within a datagrid.","twitter_image":"https:\/\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2014\/12\/logo.jpg","twitter_creator":"@Rbaroniunas","twitter_site":"@Rbaroniunas","twitter_misc":{"Written by":"richard@baronsoftware.com","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/#article","isPartOf":{"@id":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/"},"author":{"name":"richard@baronsoftware.com","@id":"https:\/\/www.baronsoftware.com\/Blog\/#\/schema\/person\/079d370e4230be9d5f75885bb33dd8cd"},"headline":"Using Delphi XML Mapper","datePublished":"2018-01-10T01:43:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/"},"wordCount":537,"commentCount":0,"publisher":{"@id":"https:\/\/www.baronsoftware.com\/Blog\/#organization"},"image":{"@id":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/#primaryimage"},"thumbnailUrl":"https:\/\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Tool-300x227.png","articleSection":["Computer PC Tips - bits and bytes","Rad Studio Delphi Development","Software development Concepts"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/","url":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/","name":"Using Delphi XML Mapper - Baron Software","isPartOf":{"@id":"https:\/\/www.baronsoftware.com\/Blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/#primaryimage"},"image":{"@id":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/#primaryimage"},"thumbnailUrl":"https:\/\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Tool-300x227.png","datePublished":"2018-01-10T01:43:23+00:00","description":"Embarcadero Enterprise Studio package contains a wonderful utility that can assist any Delphi developer with the ability of importing a XML document for the sole purpose of using it within a datagrid.\u00a0 Displayed below is a simple SSH cheat XML document that was created using Excel and will be used.","breadcrumb":{"@id":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/#primaryimage","url":"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Tool.png?fit=912%2C690&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/XML_Mapping_Tool.png?fit=912%2C690&ssl=1","width":912,"height":690},{"@type":"BreadcrumbList","@id":"https:\/\/www.baronsoftware.com\/Blog\/using-delphi-xml-mapper\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.baronsoftware.com\/Blog\/"},{"@type":"ListItem","position":2,"name":"Using Delphi XML Mapper"}]},{"@type":"WebSite","@id":"https:\/\/www.baronsoftware.com\/Blog\/#website","url":"https:\/\/www.baronsoftware.com\/Blog\/","name":"Baron Software","description":"Highest Quality Software Developed.","publisher":{"@id":"https:\/\/www.baronsoftware.com\/Blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.baronsoftware.com\/Blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.baronsoftware.com\/Blog\/#organization","name":"Baron Software","url":"https:\/\/www.baronsoftware.com\/Blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.baronsoftware.com\/Blog\/#\/schema\/logo\/image\/","url":"https:\/\/i2.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/BaronSoftwareLogo.fw_.png?fit=1920%2C400&ssl=1","contentUrl":"https:\/\/i2.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/01\/BaronSoftwareLogo.fw_.png?fit=1920%2C400&ssl=1","width":1920,"height":400,"caption":"Baron Software"},"image":{"@id":"https:\/\/www.baronsoftware.com\/Blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/Rbaroniunas"]},{"@type":"Person","@id":"https:\/\/www.baronsoftware.com\/Blog\/#\/schema\/person\/079d370e4230be9d5f75885bb33dd8cd","name":"richard@baronsoftware.com","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e5a3cc457a883c420e8af899f2639359d220ae6bfed4587ca7ed17f45ca0c21c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e5a3cc457a883c420e8af899f2639359d220ae6bfed4587ca7ed17f45ca0c21c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e5a3cc457a883c420e8af899f2639359d220ae6bfed4587ca7ed17f45ca0c21c?s=96&d=mm&r=g","caption":"richard@baronsoftware.com"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2e6qU-aK","jetpack-related-posts":[{"id":714,"url":"https:\/\/www.baronsoftware.com\/Blog\/elevate-software-announces-v2-27-release-elevatedb\/","url_meta":{"origin":666,"position":0},"title":"Elevate Software announces V2.27 release of ElevateDB","author":"richard@baronsoftware.com","date":"January 11, 2018","format":false,"excerpt":"Elevate Software announces V2.27 release of ElevateDB ElevateDB is licensed per-developer, and includes royalty-free distribution. License management isn't required at all.\u00a0 The software is written for Delphi development and brings out the ability of handling multiple users for a small company.\u00a0 Flexible database commands allow SQL-like searches, modifications and extractions.\u00a0\u2026","rel":"","context":"In &quot;Rad Studio Delphi Development&quot;","block_context":{"text":"Rad Studio Delphi Development","link":"https:\/\/www.baronsoftware.com\/Blog\/category\/rad-studio-embarcadero-delphi-development\/"},"img":{"alt_text":"ElevateDB","src":"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2017\/09\/edbproduct.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":589,"url":"https:\/\/www.baronsoftware.com\/Blog\/apples-ios-11-kills-old-32-bit-iphone-ipad-apps\/","url_meta":{"origin":666,"position":1},"title":"Apple&#8217;s iOS 11 kills old 32-bit iPhone and iPad apps","author":"richard@baronsoftware.com","date":"September 20, 2017","format":false,"excerpt":"Apple's iOS 11 kills old 32-bit iPhone and iPad apps Well the time has come to begin the end of the 32 bit application. \u00a0What this means to the general public is that certain older applications may no longer work if you install the latest iOS on your iPhone. \u00a0Owners\u2026","rel":"","context":"In &quot;Software Events&quot;","block_context":{"text":"Software Events","link":"https:\/\/www.baronsoftware.com\/Blog\/category\/software-events\/"},"img":{"alt_text":"iOS","src":"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2017\/02\/Apple.jpeg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":755,"url":"https:\/\/www.baronsoftware.com\/Blog\/find-glyphs-icons-delphi-application-menu-toolbar\/","url_meta":{"origin":666,"position":2},"title":"Where to Find Glyphs and Icons for a Delphi Application, Menu, Toolbar","author":"richard@baronsoftware.com","date":"February 11, 2018","format":false,"excerpt":"Where to Find Glyphs and Icons for a Delphi Application, Menu, Toolbar When using the latest version of Embarcadero's Rad Studio and you wish to use a BitBtn or Speedbutton on your form you will need to locate where a glyph resides.\u00a0 A glyph is simply a bitmap image that\u2026","rel":"","context":"In &quot;Rad Studio Delphi Development&quot;","block_context":{"text":"Rad Studio Delphi Development","link":"https:\/\/www.baronsoftware.com\/Blog\/category\/rad-studio-embarcadero-delphi-development\/"},"img":{"alt_text":"Delphi","src":"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2016\/01\/Embarcadero-Logo-e1467218648875.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":438,"url":"https:\/\/www.baronsoftware.com\/Blog\/happy-birthday-delphi-22-years-counting\/","url_meta":{"origin":666,"position":3},"title":"Happy Birthday to Delphi at 22 years and counting","author":"richard@baronsoftware.com","date":"February 14, 2017","format":false,"excerpt":"Happy Birthday to Delphi at 22 years and counting Well with the next release, \"Godzilla - Tokyo\" currently in beta testing and getting prepared to support Linux servers, there is no better way then to shout out a happy birthday to Delphi. Delphi History Delphi was originally developed by Borland\u2026","rel":"","context":"In &quot;Rad Studio Delphi Development&quot;","block_context":{"text":"Rad Studio Delphi Development","link":"https:\/\/www.baronsoftware.com\/Blog\/category\/rad-studio-embarcadero-delphi-development\/"},"img":{"alt_text":"Delphi for Linux","src":"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2016\/12\/LinuxIsComing-300x300.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":872,"url":"https:\/\/www.baronsoftware.com\/Blog\/communitytoolbar-in-delphi-creates-problems\/","url_meta":{"origin":666,"position":4},"title":"CommunityToolbar in Delphi creates problems","author":"richard@baronsoftware.com","date":"March 31, 2018","format":false,"excerpt":"CommunityToolbar in Delphi creates problems The CommunityToolbarXXX.BPL located in your C:\\Program Files (x86)\\Embarcadero\\Studio\\XX.0\\Bin creates problems for the IDE in the long run.\u00a0 Apparently you can get an access violation when closing the IDE or if you click on tools\\options followed by Ok you can get a script error using Tokyo.\u00a0\u2026","rel":"","context":"In &quot;Rad Studio Delphi Development&quot;","block_context":{"text":"Rad Studio Delphi Development","link":"https:\/\/www.baronsoftware.com\/Blog\/category\/rad-studio-embarcadero-delphi-development\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2018\/02\/cropped-BaronSoftwareLogo_2018.fw_-1-300x62.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":487,"url":"https:\/\/www.baronsoftware.com\/Blog\/delphi-developer-days-2017-workshop\/","url_meta":{"origin":666,"position":5},"title":"Delphi Developer Days 2017 Workshop","author":"richard@baronsoftware.com","date":"August 22, 2017","format":false,"excerpt":"Delphi Developer Days 2017 Special Edition Database Workshop \u00a0 Once again the annual Delphi Developer Days are upon us for the year 2017. \u00a0The event will take place in only 3 cities, Chicago, Antwerp and Frankfurt. \u00a0Seats are going fast so to reserve your spot you need to act today.\u2026","rel":"","context":"In &quot;Rad Studio Delphi Development&quot;","block_context":{"text":"Rad Studio Delphi Development","link":"https:\/\/www.baronsoftware.com\/Blog\/category\/rad-studio-embarcadero-delphi-development\/"},"img":{"alt_text":"DDD","src":"https:\/\/i0.wp.com\/www.baronsoftware.com\/Blog\/wp-content\/uploads\/2014\/12\/dddlogo.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.baronsoftware.com\/Blog\/wp-json\/wp\/v2\/posts\/666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baronsoftware.com\/Blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baronsoftware.com\/Blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baronsoftware.com\/Blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baronsoftware.com\/Blog\/wp-json\/wp\/v2\/comments?post=666"}],"version-history":[{"count":1,"href":"https:\/\/www.baronsoftware.com\/Blog\/wp-json\/wp\/v2\/posts\/666\/revisions"}],"predecessor-version":[{"id":672,"href":"https:\/\/www.baronsoftware.com\/Blog\/wp-json\/wp\/v2\/posts\/666\/revisions\/672"}],"wp:attachment":[{"href":"https:\/\/www.baronsoftware.com\/Blog\/wp-json\/wp\/v2\/media?parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baronsoftware.com\/Blog\/wp-json\/wp\/v2\/categories?post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baronsoftware.com\/Blog\/wp-json\/wp\/v2\/tags?post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}