I have in my application Builder C++(embarcadero) a dbgrid.. I would like to populate with data from XML file..
before to populate a dbgrid, we should convert the xml file to xml datapacket. To do that, you must define the relationship between the metadata in a data packet and the nodes of the corresponding XML document. A description of this relationship is stored in a special XML document called a transformation. In this step we can use Mapper tool to create a transformation.
In my case i have a xml file
    <result name="response" numFound="3098" start="0">
    <doc>
        <str name="Document Extension">PST</str>
        <str name="Document Page Count">1</str>
        <str name="DocID">1</str>
        <str name="lastModifiedIdx">2015-02-02 09:40:29.0</str>
    </doc>
    <doc>
        <str name="Document Extension">PST</str>
        <str name="Document Page Count">1</str>
        <str name="DocID">2</str>
        <str name="lastModifiedIdx">2015-02-02 09:39:53.0</str>
    </doc>
    </result>
with this structure(element str with attribute name), i can to load correctly in my Mapper tool to create a xstr file..
I would like to transform this file to some structure
   <doc>
        <Document Extension>PST</Document Extension>
        <Document Page Count>1</Document Page Count>
        <DocID>2</DocID>
        <lastModifiedIdx>2015-02-02 09:39:53.0</lastModifiedIdx>
    </doc>
see this link for more information : http://docwiki.embarcadero.com/RADStudio/XE5/en/Converting_XML_Documents_into_Data_Packets
Any idea?