Loading xml data into eexternal table

emp.xml is xml file namewhich is saved in C:\Documents and Settings\james\Desktop\emp.xml
xml file
<EMPLOYEES>
<EMP>
<EMPNO>7369</EMPNO>
<ENAME>SMITH</ENAME>
<JOB>CLERK</JOB>
<HIREDATE>17-DEC-80</HIREDATE>
<SAL>800</SAL>
</EMP>
<EMP>
<EMPNO>7499</EMPNO>
<ENAME>ALLEN</ENAME>
<JOB>SALESMAN</JOB>
<HIREDATE>20-FEB-81</HIREDATE>
<SAL>1600</SAL>
<COMM>300</COMM>
</EMP>
</EMPLOYEES>
CREATE DIRECTORY my_xml_dir AS 'C:\Documents and Settings\james\Desktop\emp.xml'
CREATE TABLE my_xml_et ( EMPNO NUMBER, EMPNAME VARCHAR2(10), JOB VARCHAR2(10), HIREDATE DATE, SAL NUMBER )
using external tables how this xml data is loaded into my_xml_et

I think you mean you are trying to load an XML from/using an external table.
However, external tables are typically best suited to flat file structures rather than XML nested structures.
What you require is one of the many techniques for shredding an XML document into oracle table structures.
More information on these techniques can be found in the XML DB forum, with plenty of useful links in the FAQ for that forum...
XML DB FAQ

Similar Messages

  • Loading XML Data into Relational Table

    Hello,
    I receive an XML file generated from another tool (on Windows), I am trying to create a Linux shell script that will gather the needed XML file from my Linux database server, then have Oracle use this file to load the XML data into a relational table. This activity & data will be needed on an ongoing basis.
    I have tried this two ways. First, I loaded the XML document into the database and tried to extract the data directly from the document, but that is not working. Now I want to try to read the data directly from the file on the server via select, however I am not getting any data returned. In the Select statement below, I am simply trying to query the data to see what is returned for my testing.
    Create Table ci_results_table (transactionID Varchar2(100), //transactionID should be PrimaryKey but was getting NULL value errors during insert test, so removed PK
    message Varchar2(200),
    ci Varchar2(50),
    processeddate xmltype,
    status Varchar2(50),
    sourcefile VarChar2(100));
    select x.*
    from XMLTable(
         'TSPLoadResults/Results'
         PASSING xmltype(bfilename('CMDB_DEVADHOCRESULTS_DIR','LoadResults-HP_146.results.xml'), nls_charset_id('AL32UTF8'))
         COLUMNS
           transactionID Varchar2(100) PATH 'TransactionID',
           Result XMLType PATH 'Result',
           Message Varchar2(200) PATH 'Message',
           PrimaryKey Varchar2(50) PATH 'PrimaryKey',
           ProcessedDate date PATH 'ProcessedDate',
           Status Varchar2(50) PATH 'Status',
           SourceFile VarChar2(100) PATH 'SourceFileName'
       ) x
    Eventually I will need to build on this to limit the data returned to those records where SourceFileName is like 'HPDS%' and insert what is returned in to the ci_results_table. Attached is a sample Results XML file I am trying to load, It is named "ResultsTransformedtoUnix" because I used dos2Unix to convert it to Unix which may be right or wrong. (The output file I send out has to be transformed to DOS format before the other application can read it). Original file (before Unix conversion) named in script is also attached.
    Please help. Thank you!

    Hi,
    I see some wrong things in your query.
    1) The obvious one, explaining why you're not getting any data : there's a typo in the XQuery expression, it's "Result" not "Results"
    2) ProcessedDate cannot be extracted as a date (at least not directly) since it actually represents a timestamp, use TIMESTAMP WITH TIME ZONE datatype and cast back to DATE in the SELECT clause
    3) transactionID is an attribute, it must be accessed with '@' (or 'attribute::' axis)
    4) If the file encoding is truly ISO-8859-1 as the prolog suggests, then do not use AL32UTF8 but the corresponding charset name : WE8ISO8859P1
    Here's the working query :
    select x.transactionID
         , x.Message
         , x.Primarykey
         , cast(x.ProcessedDate as date) ProcessDate
         , x.Status
         , x.SourceFile
    from XMLTable(
           '/TSPLoadResults/Result'
           PASSING xmltype(bfilename('XML_DIR','LoadResults-HP_146.results.xml'), nls_charset_id('WE8ISO8859P1'))
           COLUMNS
             transactionID Varchar2(100)            PATH '@transactionID',
             Message       Varchar2(200)            PATH 'Message',
             PrimaryKey    Varchar2(50)             PATH 'PrimaryKey',
             ProcessedDate timestamp with time zone PATH 'ProcessedDate',
             Status        Varchar2(50)             PATH 'Status',
             SourceFile    VarChar2(100)            PATH 'SourceFileName'
         ) x
    Using this query directly over the file will only perform decently (for large files) on 11.2.0.4 and onwards.
    On prior versions, first load the file in a (temporary) XMLType column with Binary XML storage and SELECT from there.
    because I used dos2Unix to convert it to Unix which may be right or wrong.
    This conversion shouldn't be necessary.

  • Load XML data into MySQL table

    I have numerous XML files, one for each record, with a structure like this (only a small part actually, each file is around 170 KB):
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <speccydata version="1.20.446" formatversion="2.0" languageID="0" time="20130323T222711" localtime="20130323T232711+0100">
        <mainsection title="Summary">
            <section title="Operating System" id="1">
                <entry value="Microsoft Windows 8 Enterprise 64-bit" />
            </section>
            <section title="CPU" id="2">
                <entry title="Intel Core i7 3930K @ 3.20GHz" value="32 °C" />
                <entry title="Sandy Bridge-E 32nm Technology" value="" />
            </section>
            <section title="RAM" id="3">
                <entry value="64,0 GB DDR3 @ 1091MHz (11-11-11-31)" />
            </section>
            <section title="Motherboard" id="4">
                <entry title="ASUSTeK COMPUTER INC. P9X79 WS (LGA2011)" value="25 °C" />
            </section>
            <section title="Graphics" id="5">
                <entry title="SyncMaster ([email protected])" value="" />
                <entry title="SyncMaster ([email protected])" value="" />
                <entry title="24W_LCD_TV ([email protected])" value="" />
                <entry title="Microsoft Basic Render Driver" value="" />
                <entry title="NVIDIA GeForce GTX 680" value="" />
            </section>
            <section title="Hard Drives" id="6">
                <entry title="238GB Corsair Performance Pro (SSD)" value="" />
                <entry title="238GB Corsair Performance Pro (SSD)" value="" />
                <entry title="932GB Seagate ST1000NM0011 (SATA)" value="24 °C" />
                <entry title="16764GB Areca ARC-1882-VOL#000 SCSI Disk Device (RAID)" value="" />
            </section>
            <section title="Optical Drives" id="7">
                <entry title="HL-DT-ST BD-RE BH10LS38" value="" />
                <entry title="HL-DT-ST BD-RE BH10LS38" value="" />
            </section>
            <section title="Audio" id="8">
                <entry title="Realtek High Definition Audio" value="" />
            </section>
        </mainsection>
        <mainsection title="Operating System" id="1">
            <entry>
                <entry title="Model" value="MS Windows 8" />
                <entry title="Edition" value="Enterprise" />
                <entry title="Architecture" value="64-bit" />
                <entry title="Service Pack" value="" />
            </entry>
    I have a table in MySQL, where each record contains the name of the .XML file in a field.
    I need to open the .XML file and load relevant data into a specific field for record 1, then repeat for record 2, until all records are filled with the data from the various .XML files. As an example from the above .XML code, I want to extract the BOLD information and get it into fields called:
    os, cpu, ram, mobo, graphics, hard_drives, etc.
    How to do that?

    Not a trivial task, but one that could be done by writing a script that queries the database to get the XML filename and the record's primary key.
    You can then use SimpleXML to open the XML file, extract the values that you need, and store them in variables. Use the variables and primary key to build a SQL query to update the record with the data you have extracted.

  • Need load XML data into Oracle Table

    Hi,
    I want to load 1.5 GB size XML data to Oracle table .
    My Oracle version is 10G
    My Sample XML Data
    <Dealer>
      <Id>10004</Id> is primary column , for 10004 i have address , contact and sales details , sales details will be multiple, now i need to create a table
    Some one please suggest is there anyway to do this?
      <?xml version="1.0" encoding="UTF-8" ?>
    - <Dealers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <Dealer>
      <Id>10004</Id>
      <InternalId xsi:nil="true" />
      <LegalName xsi:nil="true" />
      <DbaName>A-P SUPER SERVICE, INC.</DbaName>
      <Client>ALLY</Client>
      <Frequency>30</Frequency>
      <OutstandingBalance>705354.00</OutstandingBalance>
      <Active>true</Active>
      <GroupId xsi:nil="true" />
      <Tag>07</Tag>
      <SecurityContext>045</SecurityContext>
      <CreditLimit xsi:nil="true" />
      <RiskRating>8+</RiskRating>
      <Comment xsi:nil="true" />
    - <PrimaryAccountManager>
      <Id>01</Id>
      <InternalId xsi:nil="true" />
      <Name>UNKNOWN</Name>
      <Title xsi:nil="true" />
      <BusinessPhone xsi:nil="true" />
      <CellPhone xsi:nil="true" />
      <Email xsi:nil="true" />
      </PrimaryAccountManager>
      <SecondaryAccountManagers xsi:nil="true" />
    - <PrimaryLocation>
      <Id>01</Id>
      <InternalId xsi:nil="true" />
      <Name>A-P SUPER SERVICE, INC.</Name>
      <Address1>338 N THIRD ST</Address1>
      <Address2 xsi:nil="true" />
      <City>ROGERS CITY</City>
      <State>MI</State>
      <Zip>49779</Zip>
      <County xsi:nil="true" />
      <Country xsi:nil="true" />
      <Latitude xsi:nil="true" />
      <Longitude xsi:nil="true" />
      <Phone>9897342941</Phone>
      <Fax>9897343343</Fax>
    - <PrimaryContact>
      <Id>01</Id>
      <InternalId xsi:nil="true" />
      <Name>UNKNOWN</Name>
      <Title xsi:nil="true" />
      <BusinessPhone xsi:nil="true" />
      <CellPhone xsi:nil="true" />
      <Email xsi:nil="true" />
      </PrimaryContact>
      <SecondaryContacts xsi:nil="true" />
      </PrimaryLocation>
      <SecondaryLocations xsi:nil="true" />
    - <Units>
    - <Unit>
      <Id>1C4NJDEB7ED740827</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4NJDEB7ED740827</SerialNumber>
      <Year>2014</Year>
      <Make>JEEP</Make>
      <Model>COMPASS</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-04T00:00:00</FloorDate>
      <FloorAmount>25344.00</FloorAmount>
      <OutstandingBalance>25344.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-20T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C4NJRFB8ED799073</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4NJRFB8ED799073</SerialNumber>
      <Year>2014</Year>
      <Make>JEEP</Make>
      <Model>PATRIOT</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-21T00:00:00</FloorDate>
      <FloorAmount>24172.00</FloorAmount>
      <OutstandingBalance>24172.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-21T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C4RDJDG8DC604750</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4RDJDG8DC604750</SerialNumber>
      <Year>2013</Year>
      <Make>DODG</Make>
      <Model>DURANGO</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-10-02T00:00:00</FloorDate>
      <FloorAmount>27965.00</FloorAmount>
      <OutstandingBalance>25168.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>FA</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C6RR7GGXES144098</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C6RR7GGXES144098</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-02-27T00:00:00</FloorDate>
      <FloorAmount>34268.00</FloorAmount>
      <OutstandingBalance>34268.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C6RR7GT1ES219073</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C6RR7GT1ES219073</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-11-27T00:00:00</FloorDate>
      <FloorAmount>39863.00</FloorAmount>
      <OutstandingBalance>39863.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C6RR7KT7ES312137</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C6RR7KT7ES312137</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-07T00:00:00</FloorDate>
      <FloorAmount>37962.00</FloorAmount>
      <OutstandingBalance>37962.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-24T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2A8HR54P08R749355</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2A8HR54P08R749355</SerialNumber>
      <Year>2008</Year>
      <Make>CHRY</Make>
      <Model>TOWN COUNTRY</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-12-02T00:00:00</FloorDate>
      <FloorAmount>8435.00</FloorAmount>
      <OutstandingBalance>8435.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>U</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C3CCACG3CH142608</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C3CCACG3CH142608</SerialNumber>
      <Year>2012</Year>
      <Make>CHRY</Make>
      <Model>300</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2013-12-02T00:00:00</FloorDate>
      <FloorAmount>14840.00</FloorAmount>
      <OutstandingBalance>14840.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>U</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RC1BG2ER236662</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RC1BG2ER236662</SerialNumber>
      <Year>2014</Year>
      <Make>CHRY</Make>
      <Model>TOWN COUNTRY</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-12-17T00:00:00</FloorDate>
      <FloorAmount>30636.00</FloorAmount>
      <OutstandingBalance>30636.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RC1BG5DR689365</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RC1BG5DR689365</SerialNumber>
      <Year>2013</Year>
      <Make>CHRY</Make>
      <Model>TOWN COUNTRY</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-10-02T00:00:00</FloorDate>
      <FloorAmount>21165.00</FloorAmount>
      <OutstandingBalance>19048.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>FA</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>3C6JR7DT2EG241740</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>3C6JR7DT2EG241740</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-26T00:00:00</FloorDate>
      <FloorAmount>29649.00</FloorAmount>
      <OutstandingBalance>29649.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-26T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1B3CB3HA6BD106858</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1B3CB3HA6BD106858</SerialNumber>
      <Year xsi:nil="true" />
      <Make xsi:nil="true" />
      <Model xsi:nil="true" />
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description />
      <FloorDate xsi:nil="true" />
      <FloorAmount>0.00</FloorAmount>
      <OutstandingBalance>0.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate>2014-03-26T00:00:00</PayoffDate>
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode xsi:nil="true" />
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">0</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C3CDZCG4DN687530</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C3CDZCG4DN687530</SerialNumber>
      <Year>2013</Year>
      <Make>DODG</Make>
      <Model>AVENGER</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2013-10-30T00:00:00</FloorDate>
      <FloorAmount>13965.00</FloorAmount>
      <OutstandingBalance>11171.50</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>FA</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C4PJMCS3EW246710</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4PJMCS3EW246710</SerialNumber>
      <Year>2014</Year>
      <Make>JEEP</Make>
      <Model>CHEROKEE</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-21T00:00:00</FloorDate>
      <FloorAmount>29436.00</FloorAmount>
      <OutstandingBalance>29436.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-21T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C4RJFAG3EC477904</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4RJFAG3EC477904</SerialNumber>
      <Year>2014</Year>
      <Make>JEEP</Make>
      <Model>GR CHEROKEE</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-24T00:00:00</FloorDate>
      <FloorAmount>34359.00</FloorAmount>
      <OutstandingBalance>34359.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-24T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C6RR7FG7ES142150</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C6RR7FG7ES142150</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-09-10T00:00:00</FloorDate>
      <FloorAmount>32138.00</FloorAmount>
      <OutstandingBalance>32138.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C6RR7LG6ES308730</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C6RR7LG6ES308730</SerialNumber>
      <Year>2014</Year>
      <Make>RAM</Make>
      <Model>TRUCK</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-13T00:00:00</FloorDate>
      <FloorAmount>37613.00</FloorAmount>
      <OutstandingBalance>37613.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-13T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C3KA43D29H611642</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C3KA43D29H611642</SerialNumber>
      <Year>2009</Year>
      <Make>CHRY</Make>
      <Model>300</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2012-10-19T00:00:00</FloorDate>
      <FloorAmount>10680.00</FloorAmount>
      <OutstandingBalance>4975.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>U</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RC1BG7ER133480</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RC1BG7ER133480</SerialNumber>
      <Year>2014</Year>
      <Make>CHRY</Make>
      <Model>TOWN COUNTRY</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-12-11T00:00:00</FloorDate>
      <FloorAmount>29624.00</FloorAmount>
      <OutstandingBalance>29624.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RDGBG9ER230454</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RDGBG9ER230454</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>CARAVAN</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-02-25T00:00:00</FloorDate>
      <FloorAmount>24205.00</FloorAmount>
      <OutstandingBalance>24205.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RDGCG2CR321948</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RDGCG2CR321948</SerialNumber>
      <Year>2012</Year>
      <Make>DODG</Make>
      <Model>CARAVAN</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-03-07T00:00:00</FloorDate>
      <FloorAmount>16765.00</FloorAmount>
      <OutstandingBalance>10209.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>U</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RDGCG8ER345271</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RDGCG8ER345271</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>CARAVAN</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-03-24T00:00:00</FloorDate>
      <FloorAmount>28469.00</FloorAmount>
      <OutstandingBalance>28469.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">42</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-03-24T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>3C4PDCBG3ET133327</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>3C4PDCBG3ET133327</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>JOURNEY</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-08-30T00:00:00</FloorDate>
      <FloorAmount>25378.00</FloorAmount>
      <OutstandingBalance>25378.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>EI</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>5GAKRBED2BJ269900</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>5GAKRBED2BJ269900</SerialNumber>
      <Year>2011</Year>
      <Make>BUIC</Make>
      <Model>ENCLAVE</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2013-12-17T00:00:00</FloorDate>
      <FloorAmount>18917.50</FloorAmount>
      <OutstandingBalance>18917.50</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>U</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C3CCBBBXDN584242</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C3CCBBBXDN584242</SerialNumber>
      <Year>2013</Year>
      <Make>CHRY</Make>
      <Model>200</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2012-11-27T00:00:00</FloorDate>
      <FloorAmount>22796.00</FloorAmount>
      <OutstandingBalance>18236.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>EI</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C3CDFBB4ED682758</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C3CDFBB4ED682758</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>DART</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2013-11-12T00:00:00</FloorDate>
      <FloorAmount>20464.00</FloorAmount>
      <OutstandingBalance>20464.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode xsi:nil="true" />
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C3CDZAB7CN204652</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C3CDZAB7CN204652</SerialNumber>
      <Year>2012</Year>
      <Make>DODG</Make>
      <Model>AVENGER</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2013-06-12T00:00:00</FloorDate>
      <FloorAmount>12265.00</FloorAmount>
      <OutstandingBalance>8584.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>FA</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">U</Item>
      <Item Name="VtmsCode" Type="System.String" />
      <Item Name="VtmsDate" Type="System.DateTime" />
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C4PJMCSXEW203403</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C4PJMCSXEW203403</SerialNumber>
      <Year>2014</Year>
      <Make>JEEP</Make>
      <Model>CHEROKEE</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-02-18T00:00:00</FloorDate>
      <FloorAmount>30437.00</FloorAmount>
      <OutstandingBalance>30437.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-02-27T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>2C4RDGCG6ER230085</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>2C4RDGCG6ER230085</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>CARAVAN</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>L</Description>
      <FloorDate>2014-01-16T00:00:00</FloorDate>
      <FloorAmount>28285.00</FloorAmount>
      <OutstandingBalance>28285.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>LT</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine xsi:nil="true" />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String">LT</Item>
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
    - <Unit>
      <Id>1C3CDZCB9EN116900</Id>
      <InternalId xsi:nil="true" />
      <SerialNumber>1C3CDZCB9EN116900</SerialNumber>
      <Year>2014</Year>
      <Make>DODG</Make>
      <Model>AVENGER</Model>
      <Series xsi:nil="true" />
      <Color xsi:nil="true" />
      <Mileage xsi:nil="true" />
      <LocationId xsi:nil="true" />
      <StockId xsi:nil="true" />
      <Description>C</Description>
      <FloorDate>2013-08-27T00:00:00</FloorDate>
      <FloorAmount>23468.00</FloorAmount>
      <OutstandingBalance>23468.00</OutstandingBalance>
      <InvoiceNumber xsi:nil="true" />
      <MaturityDate xsi:nil="true" />
      <PayoffDate xsi:nil="true" />
      <PreviousStatus xsi:nil="true" />
      <FloorPlanCode>EI</FloorPlanCode>
      <Comment xsi:nil="true" />
      <ProductLine />
      <ProductLineCategory xsi:nil="true" />
      <ProductLineDescription xsi:nil="true" />
      <Curtailments xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="IW_DAC_KEY" Type="System.Int32">33231</Item>
      <Item Name="SecondaryCode" Type="System.String" />
      <Item Name="ManuallyFloored" Type="System.String" xsi:nil="true" />
      <Item Name="NewUsed" Type="System.String">N</Item>
      <Item Name="VtmsCode" Type="System.String">50</Item>
      <Item Name="VtmsDate" Type="System.DateTime">2014-01-30T00:00:00</Item>
      <Item Name="BarsDeliveryDate" Type="System.DateTime" />
      </LaunchExtensions>
      </Custom>
      </Unit>
      </Units>
      <Charges xsi:nil="true" />
    - <Custom p7:Version="1.0" Schema="http://www.launchtechnologies.com/Integration/Service/Import/V3/Extension.xsd" xmlns:p7="http://www.launchtechnologies.com/Integration/schema/Entity/3.0/">
    - <LaunchExtensions xmlns="">
      <Item Name="InDefaultDate" Type="System.DateTime" />
      <Item Name="Sched_Restrict" Type="System.String" />
      <Item Name="FullUVE" Type="System.Boolean">false</Item>
      <Item Name="HighLevelUVE" Type="System.Boolean">false</Item>
      <Item Name="ExcludeSVA" Type="System.Boolean">true</Item>
      <Item Name="ConcurrentAudit" Type="System.Boolean">false</Item>
      <Item Name="CheckAllDemos" Type="System.Boolean">false</Item>
      <Item Name="CheckAllTitles" Type="System.Boolean">false</Item>
      <Item Name="CallBranch" Type="System.Boolean">false</Item>
      <Item Name="TemporaryAuditComment" Type="System.String" />
      <Item Name="ReleaseDaysAfterFunding" Type="System.Int32" />
      <Item Name="FILLER" Type="System.Int32" />
      <Item Name="Cash_24_48_Hr" Type="System.Int32" />
      <Item Name="Lien_Payoff_Sched" Type="System.Boolean">false</Item>
      <Item Name="Ally_Holds_Title_MCO" Type="System.Boolean">false</Item>
      <Item Name="ReleaseDaysAfterSale" Type="System.Int32">3</Item>
      </LaunchExtensions>
      </Custom>
      </Dealer>
    Cheers ,
    San

    Hope you have seen my Sample XML record, that is related to one dealer , i need to populate all the nodes, even if he have option to populate selected node that will also help.
    for example
    ID- 100004 contains many info like contacts, units now i need to do populate into DB , for single ID i too have many units child node ,
    from table i need to the selection. i have tried with
    CREATE OR REPLACE VIEW shan_v AS
    SELECT *
    FROM XMLTable('/Dealer'
            PASSING XMLTYPE(
                     bfilename('DEV_CSG_DIR','dealer2.xml')
                    , nls_charset_id('AL32UTF8')
                    columns id           varchar2(10) path 'Id'
            --,               dbaname     varchar2(30) path 'DbaName'
    But no luck , bcz my view doesnt have any data.
    even i tired with external tables but that was too complex with large xml.

  • How to load xml data into a table

    Hi,
    i am a newbie. I want to insert the data of xml file into a table. I am doing this using XSU api for java.
    I am using oracle 9i and jdk 1.7.
    I am using OracleXmlSave class.
    but i am getting following error.
    java.lang.NoClassDefFoundError: oracle/jdbc2/Clob
    Please help in this regard. this is my first thread.
    thanks.
    Edited by: 979682 on Jan 3, 2013 3:39 AM

    Hi,
    You can insert XML data from XML file to Oracle database by this script :
    Hi,
    For reading and inserting the data from XML file to Oracle Database :
    1. CREATE A BLANK TABLE with same structure as XML file :
    select * from xml_test
    2. SELECT QUERY DIRECTLY ON XML FILE :
    SELECT XMLTYPE(bfilename('TEST_DIR', 'data_file.xml'), nls_charset_id('UTF8')) xml_data FROM dual
    3. CREATE ORACLE DIRECTORY AND PLACE XML FILE IN THIS DIRECTORY LOCATION:
    --CREATE DIRECTORY TEST_DIR as '/oracle/test';
    --grant all on directory TEST_DIR to public;
    4. INSERT THE XML DATA IN ORACLE TABLE:
    INSERT INTO xml_test(column1,coumn2)
    WITH t AS (SELECT XMLTYPE(bfilename('TEST_DIR', 'attachment.xml'), nls_charset_id('UTF8')) xml_col FROM dual)
    SELECT
    extractValue(value(x),'/ROW/COLUMN1') column1
    ,extractValue(value(x),'ROW/COLUMN2') column2
    FROM t,TABLE(XMLSequence(extract(t.xml_col,'/ROWSET/ROW'))) x;
    I have assumed a table with 2 columns.
    Regards,
    Rohit Chaudhari
    [email protected]

  • Load XML Data into relational Table

    Hi All,
    I have a requirement to load data in an XML file into columns in an oracle table. This has to be done on the command line from a unix box which connects to a remote oracle DB.
    Can some one give me a step by step procedure to do this (preferably using sqlloader) or point me in the right direction.
    thank you

    Hi,
    Read "Oracle XML DB Developer's guide", Chapters 2,3,4,5.
    That will give you very good idea.
    The reason, I am suggesting reading is, there is not "one" way to do it. There can be many good ways, depending on the size, complexity of the XML and also your intended use of that XML data.
    Regards

  • Load xml data into oracle table

    Hi,
    How to load the xml data in to oracle table plz guide in this context
    thanks

    Use the DBMS_XMLSAVE.INSERTXML procedure.
    It works fine.

  • Best method to load XML data into Oracle

    Hi,
    I have to load XML data into Oracle tables. I tried using different options and have run into a dead end in each of those. I do not have knowledge of java and hence have restricted myself to PL/SQL solutions. I tried the following options.
    1. Using DBMS_XMLSave package : Expects the ROWSET and ROW tags. Connot change format of the incoming XML file (Gives error oracle.xml.sql.OracleXMLSQLException: Start of root element expected).
    2. Using the XMLPARSER and XMLDOM PL/SQL APIs : Works fine for small files. Run into memory problems for large files (Gives error java.lang.OutOfMemoryError). Have tried increasing the JAVA_POOL_SIZE but does not work. I am not sure whether I am changing the correct parameter.
    I have read that the SAX API does not hog memory resources since it does not build the entire DOM tree structure. But the problem is that it does not have a PL/SQL implementation.
    Can anyone PLEASE guide me in the right direction, as to the best way to achieve this through PL/SQL ??? I have not designed the tables so am flexible on using purely relational or object-relational design. Although would prefer to keep a purely relational design. (Had tried used object-relational for 1. and purely relational for 2. above)
    The XML files are in the following format, (EXAMINEEs with single DEMOGRAPHIC and multiple TESTs)
    <?xml version="1.0"?>
    <Root_Element>
    <Examinee>
    <MACode>A</MACode>
    <TestingJID>TN</TestingJID>
    <ExamineeID>100001</ExamineeID>
    <CreateDate>20020221</CreateDate>
    <Demographic>
    <InfoDate>20020221</InfoDate>
    <FirstTime>1</FirstTime>
    <LastName>JANE</LastName>
    <FirstName>DOE</FirstName>
    <MiddleInitial>C</MiddleInitial>
    <LithoNumber>73</LithoNumber>
    <StreetAddress>SomeAddress</StreetAddress>
    <City>SomeCity</City>
    <StateCode>TN</StateCode>
    <ZipCode>37000</ZipCode>
    <PassStatus>1</PassStatus>
    </Demographic>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>1</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>2</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    </Examinee>
    </Root_Element>
    Thanks for the help.

    Please refer to the XSU(XML SQL Utility) or TransX Utility(for Multi-language Document) if you want to load data in XML format into database.
    Both of them require special XML formats, please first refer to the following docs:
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/xsu/xsu_userguide.html
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/transx/readme.html
    You can use XSLT to transform your document to the required format.
    If you document is large, you can use SAX method to insert data into database. But you need to write the code.
    The following sample may be useful:
    http://otn.oracle.com/tech/xml/xdk_sample/xdksample_040602i.html

  • How to write a procedure to load the data into a table using xml file as input to the procedure?

    Hi,
    Iam new to the xml,
    can u please anyone help me how to write procedure to load the data into a table using xml as input parameter to a procedure and xml file is as shown below which is input to me.
    <?xml version="1.0"?>
    <DiseaseCodes>
    <Entity><dcode>0</dcode><ddesc>(I87)Other disorders of veins - postphlebitic syndrome</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    <Entity><dcode>0</dcode><ddesc>(J04)Acute laryngitis and tracheitis</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    <Entity><dcode>0</dcode><ddesc>(J17*)Pneumonia in other diseases - whooping cough</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    </DiseaseCodes>.
    Regards,
    vikram.

    here is the your XML parse in 11g :
    select *
      from xmltable('//Entity' passing xmltype
    '<?xml version="1.0"?>
    <DiseaseCodes>
    <Entity><dcode>0</dcode><ddesc>(I87)Other disorders of veins - postphlebitic syndrome</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    <Entity><dcode>0</dcode><ddesc>(J04)Acute laryngitis and tracheitis</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    <Entity><dcode>0</dcode><ddesc>(J17*)Pneumonia in other diseases - whooping cough</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity>
    </DiseaseCodes>
    ') columns
      "dcode" varchar2(4000) path '/Entity/dcode',
      "ddesc" varchar2(4000) path '/Entity/ddesc',
      "reauthflag" varchar2(4000) path '/Entity/reauthflag'
    dcode                                                                            ddesc                                                                            reauthflag
    0                                                                                (I87)Other disorders of veins - postphlebitic syndrome                           0
    0                                                                                (J04)Acute laryngitis and tracheitis                                             0
    0                                                                                (J17*)Pneumonia in other diseases - whooping cough                               0
    SQL>
    Using this parser you can create procedure as
    SQL> create or replace procedure myXMLParse(x clob) as
      2  begin
      3    insert into MyXmlTable
      4      select *
      5        from xmltable('//Entity' passing xmltype(x) columns "dcode"
      6                      varchar2(4000) path '/Entity/dcode',
      7                      "ddesc" varchar2(4000) path '/Entity/ddesc',
      8                      "reauthflag" varchar2(4000) path '/Entity/reauthflag');
      9    commit;
    10  end;
    11 
    12  /
    Procedure created
    SQL>
    SQL>
    SQL> exec myXMLParse('<?xml version="1.0"?><DiseaseCodes><Entity><dcode>0</dcode><ddesc>(I87)Other disorders of veins - postphlebitic syndrome</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity><Entity><dcode>0</dcode><ddesc>(J04)Acute laryngitis and tracheitis</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity><Entity><dcode>0</dcode><ddesc>(J17*)Pneumonia in other diseases - whooping cough</ddesc><claimid>34543></claimid><reauthflag>0</reauthflag></Entity></DiseaseCodes>');
    PL/SQL procedure successfully completed
    SQL> select * from MYXMLTABLE;
    dcode                                                                            ddesc                                                                            reauthflag
    0                                                                                (I87)Other disorders of veins - postphlebitic syndrome                           0
    0                                                                                (J04)Acute laryngitis and tracheitis                                             0
    0                                                                                (J17*)Pneumonia in other diseases - whooping cough                               0
    SQL>
    SQL>
    Ramin Hashimzade

  • Load xml data into table

    Hi all,
    I have an XML file (emp.xml) with below data:
    - <root>
    - <row>
    <lastname>steve</lastname>
    <Age>30</Age>
    </row>
    - <row>
    <lastname>Paul</lastname>
    <Age>26</Age>
    </row>
    </root>
    I'd like to create a stored procedure to store the xml data into EMP table.
    EMP
    LastName Age
    Steve 30
    Paul 26
    I tried to look all the related threads in this forum, but couldn't find the right thread. Any help is greatly appreciated. Thanks

    With
    SQL>  select * from xmltable('root/row' passing xmltype('<root>
    <row>
    <lastname>steve</lastname>
    <Age>30</Age>
    </row>
    <row>
    <lastname>Paul</lastname>
    <Age>26</Age>
    </row>
    </root>') columns lastname path 'lastname',
                       Age path 'Age')
    LASTNAME   AGE      
    steve      30       
    Paul       26   you can now simple do a
    insert into emp as select ....

  • Option to load XML data into BI 70

    Hi All,
    I have read some postings on forums and also have read the "HOW TO load XML data in BW" guide. I am confused when I read the SAP online help documentation for loading XML data .
    Question : Out of the 3 options listed below which option is best suited for loading XML data into BW . XML file is going to be provided by 3rd party company ?
    Thanks and appreciate any input .
    Smith .
    Here is what I found for BI 70 EHP1 help :
    http://help.sap.com/saphelp_nw04s/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    Data is generally transferred into SAP BW by means of a data request, which is sent from SAP BW to the source system (pull from the scheduler). You can also send the data to SAP BW from outside the system. This is a data push into SAP BW.
    A data push is possible for various scenarios:
    ●     Transferring Data Using the SOAP Service SAP Web AS
    ●     Transferring Data Using Web Services
    ●     Transferring Data Using SAP XI
    In all three scenarios, data transfer takes place using transfer mechanisms that are sufficient for Simple Object Access Protocol (SOAP); the data transfer is also XML-based.
    The SOAP-based transfer of data is only possible for flat structures. You cannot transfer hierarchy data.

    Hi,
    I feel you can go with 2nd option. But still wait for some more inputs from Experts........
    Regards,
    Suman

  • Loading XML file into DB Table

    Hi
    I m quite new to the loading XML file into database table.
    It will be great if anyone could guide me to through.
    Now,
    i have an XML file which has to be loaded into the DB table.
    what are the steps involved in doing this. How do i go from here ??
    your help is greatly appriciated ???
    Thank you so much!!
    -Shashi

    OK - Although you really should read the XMLDB FAQ on this forum, here is some sample code of ONE of the ways of doing it
    (there are multiple ways - and this is not the most simple one)
    Based on Oracle 11gR1
    -- sqlplus /nolog
    clear screen
    set termout on
    set feed on
    set lines 40
    set long 10000000
    set serveroutput on
    set lines 100
    set echo on
    connect / as sysdba
    col filename for a80
    col xml      for a80
    -- Create schema “OTN”
    drop user OTN cascade;
    purge dba_recyclebin;
    create user OTN identified by OTN;
    grant dba, xdbadmin to OTN;
    EXECUTE dbms_java.grant_permission( 'OTN', 'java.io.FilePermission','G:\OTN\xmlstore','read' );
    prompt pause
    pause
    clear screen
    -- Create directory
    connect OTN/OTN;
    show user
    drop directory OTN_USE_CASE;
    CREATE directory OTN_USE_CASE AS 'G:\OTN\xmlstore';
    SELECT extract((XMLTYPE(bfilename('OTN_USE_CASE','ABANDA-20030407215829881GMT.xml'),NLS_CHARSET_ID('AL32UTF8'))),'*') AS "XML"
    from   dual;
    prompt pause
    pause
    clear screen
    -- Directory Listing - Tom Kyte
    create global temporary table DIR_LIST
    ( filename varchar2(255) )
    on commit delete rows
    create or replace
      and compile java source named "DirList"
    as
    import java.io.*;
    import java.sql.*;
    public class DirList
    {public static void getList(String directory)
                       throws SQLException
    {   File path = new File( directory );
        String[] list = path.list();
        String element;
        for(int i = 0; i < list.length; i++)
        {   element = list;
    #sql { INSERT INTO DIR_LIST (FILENAME)
    VALUES (:element) };
    create or replace procedure get_dir_list( p_directory in varchar2 )
    as language java
    name 'DirList.getList( java.lang.String )';
    prompt pause
    pause
    clear screen
    -- The content of the global temporary table
    exec get_dir_list( 'G:\OTN\xmlstore' );
    select * from dir_list;
    -- "COMMIT" will clear / truncate the global temporary table...
    prompt pause
    pause
    clear screen
    -- Combined: Reading XML content from multiple XML files
    commit;
    exec get_dir_list( 'G:\OTN\xmlstore' );
    select * from dir_list where filename like '%.xml'
    and rownum <= 10;
    prompt pause
    pause
    clear screen
    select extract((XMLTYPE(bfilename('OTN_USE_CASE',dl.filename),NLS_CHARSET_ID('AL32UTF8'))),'*') AS "XML"
    from dir_list dl
    where dl.filename like '%.xml' and rownum <= 2;
    prompt pause
    pause
    clear screen
    -- If you can select it you can insert it...
    -- drop table OTN_xml_store purge;
    create table OTN_xml_store of xmltype
    xmltype store as binary xml
    commit;
    exec get_dir_list( 'G:\OTN\xmlstore' );
    set time on timing on
    insert into OTN_xml_store
    select XMLTYPE(bfilename('OTN_USE_CASE',dl.filename),NLS_CHARSET_ID('AL32UTF8')) AS "XML"
    from dir_list dl
    where dl.filename like '%.xml';
    set time off timing off
    commit;
    select count(*) from OTN_xml_store;
    prompt pause
    pause
    clear screen
    -- If you can select it you can create resources and files
    set time on timing on
    commit;
    exec get_dir_list( 'G:\OTN\xmlstore' );
    select count(*) from dir_list where filename like '%.xml';
    set serveroutput on size 10000
    DECLARE
    XMLdoc XMLType;
    res BOOLEAN;
    v_foldername varchar2(4000) := '/public/OTN/';
    cursor c1
    is
    select dl.filename FNAME
    , XMLTYPE(bfilename('OTN_USE_CASE',dl.filename),NLS_CHARSET_ID('AL32UTF8')) XMLCONTENT
    from dir_list dl
    where dl.filename like '%.xml'
    and rownum <= 100;
    BEGIN
    -- Create XDB repository Folder
    if (dbms_xdb.existsResource(v_foldername))
    then
    dbms_xdb.deleteResource(v_foldername,dbms_xdb.DELETE_RECURSIVE_FORCE);
    end if;
    res:=DBMS_XDB.createFolder(v_foldername);
    -- Create XML files in the XDB Repository
    for r1 in c1
    loop
    if (DBMS_XDB.CREATERESOURCE(v_foldername||r1.fname, r1.xmlcontent))
    then
    dbms_output.put_line(v_foldername||r1.fname);
    null;
    else
    dbms_output.put_line('Loop Exception :'||sqlerrm);
    end if;
    end loop;
    EXCEPTION WHEN OTHERS THEN
    dbms_output.put_line('Others Exception: '||sqlerrm);
    END;
    set time off timing off
    commit;
    prompt pause
    pause
    clear screen
    -- FTP and HTTP
    clear screen
    prompt
    prompt *** FTP - Demo ***
    prompt
    prompt pause
    pause
    host ftp
    -- open localhost 2100
    -- user OTN OTN
    -- cd public
    -- cd OTN
    -- ls
    -- bye
    clear screen
    prompt
    prompt *** Microsoft Internet Explorer - Demo ***
    prompt
    prompt pause
    pause
    host "C:\Program Files\Internet Explorer\IEXPLORE.EXE" http://OTN:[email protected]:8080/public/OTN/
    prompt pause
    pause
    -- Accessing the XDB Repository content via Resource View
    -- Selecting content from a resource via XBDUriType
    clear screen
    prompt set long 300
    set long 300
    prompt Relative Path - (path)
    SELECT path(1) as filename
    FROM RESOURCE_VIEW
    WHERE under_path(RES, '/public/OTN', 1) = 1
    and rownum <= 10
    prompt pause
    pause
    clear screen
    prompt Absolute Path - (any_path)
    select xdburitype(any_path).getClob() as xml
    FROM RESOURCE_VIEW
    WHERE under_path(RES, '/public/OTN', 1) = 1
    and rownum <= 1;
    prompt pause
    pause
    -- CLEANUP ENVIRONMENT
    clear screen
    prompt
    prompt >>>>> Clean UP !!! <<<<<<
    prompt
    prompt Cleanup environment and drop user...!!!
    prompt
    pause
    clear screen
    conn / as sysdba
    alter session set current_schema=OTN;
    begin
    dbms_xdb.deleteResource('/public/OTN',dbms_xdb.DELETE_RECURSIVE_FORCE);
    commit;
    end;
    alter session set current_schema=sys;
    drop user OTN cascade;
    Based on http://www.liberidu.com/blog/?p=1053

  • How to store XML data into Oracle Table

    I had trouble to store XML data into Oracle Table with XDK (Oracle 8.1.7 ). The error is:
    C:\XDK_Java_9_2\xdk\demo\java\Test>java testInsert Dept.xml
    <Line 1, Column 1>: XML-0108: (Fatal Error) Start of root element expected.
    Exception in thread "main" oracle.xml.sql.OracleXMLSQLException: Start of root element expected.
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:2263)
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:1333)
    at testInsert.main(testInsert.java:8)
    Here is my xml file:
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1">
    <DEPTNO>10</DEPTNO>
    <DNAME>ACCOUNTING</DNAME>
    <LOC>NEW YORK</LOC>
    </ROW>
    <ROW num="2">
    <DEPTNO>20</DEPTNO>
    <DNAME>RESEARCH</DNAME>
    <LOC>DALLAS</LOC>
    </ROW>
    <ROW num="3">
    <DEPTNO>30</DEPTNO>
    <DNAME>SALES</DNAME>
    <LOC>CHICAGO</LOC>
    </ROW>
    <ROW num="4">
    <DEPTNO>40</DEPTNO>
    <DNAME>OPERATIONS</DNAME>
    <LOC>BOSTON</LOC>
    </ROW>
    </ROWSET>
    and here is structure of table:
    Name Null? Type
    DEPTNO NOT NULL NUMBER(2)
    DNAME VARCHAR2(14)
    LOC VARCHAR2(13)
    and here is my Java Code:
    import java.sql.*;
    import oracle.xml.sql.dml.OracleXMLSave;
    public class testInsert{
         public static void main(String[] args) throws SQLException{
              Connection conn = getConnection();
              OracleXMLSave sav = new OracleXMLSave(conn,"scott.tmp_dept");
              sav.insertXML(args[0]);
              sav.close();
              conn.close();
         private static Connection getConnection()throws SQLException{
              DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@amt-ebdev01:1521:mydept","scott","tiger");
              return conn;
    Could you help me ? Thanks !

    The problem is that you need to pass avalid URL , Document...
    Please try this code instead:
    import java.net.*;
    import java.sql.*;
    import java.io.*;
    import oracle.xml.sql.dml.OracleXMLSave;
    public class testInsert
    public static void main(String[] args) throws SQLException{
    Connection conn = getConnection();
    OracleXMLSave sav = new OracleXMLSave(conn,"scott.temp_dept");
    URL url = createURL(args[0]);
    sav.insertXML(url);
    sav.close();
    conn.close();
    private static Connection getConnection()throws SQLException{
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@dlsun1982:1521:jwxdk9i","scott","tiger");
    return conn;
    // Helper method to create a URL from a file name
    static URL createURL(String fileName)
    URL url = null;
    try
    url = new URL(fileName);
    catch (MalformedURLException ex)
    File f = new File(fileName);
    try
    String path = f.getAbsolutePath();
    // This is a bunch of weird code that is required to
    // make a valid URL on the Windows platform, due
    // to inconsistencies in what getAbsolutePath returns.
    String fs = System.getProperty("file.separator");
    if (fs.length() == 1)
    char sep = fs.charAt(0);
    if (sep != '/')
    path = path.replace(sep, '/');
    if (path.charAt(0) != '/')
    path = '/' + path;
    path = "file://" + path;
    url = new URL(path);
    catch (MalformedURLException e)
    System.out.println("Cannot create url for: " + fileName);
    System.exit(0);
    return url;

  • How to load text data into internal table

    I have a text file to load txt data into internal table. So how to read text data with validation and to load all text data into the internal table?
    Say this is the text file:
    IO_NAME, IO_TYPE, IO_SHTXT, IO_LONGTEXT, DATATYPE, DATA LENGTH
    ZIO_TEST1, CHA,      IO TEST1,      IO TEST 1,        CHAR,         20
    ZIO_TEST2, CHA,      IO TEST2,      IO TEST 2,        CHAR,         20
    Regards,
    Mau

    Hi,
    U can use GUI_UPLOAD for this...
    Declare an internal table like
    data: begin of itab occurs 0,
    string(1200),
    end of itab.
    check the sample code:
    cange as you need
    DATA: DATEI_PC TYPE STRING VALUE 'C:\MATNR.TXT'.
    DATA: BEGIN OF ITAB occurs 0,
    TXT(1024),
    END OF ITAB.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
    FILENAME = DATEI_PC
    FILETYPE = 'ASC'
    CHANGING
    DATA_TAB = ITAB[]
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    NOT_SUPPORTED_BY_GUI = 17
    ERROR_NO_GUI = 18
    OTHERS = 19.
    IF SY-SUBRC NE 0. WRITE: / 'Error in Uploading'. STOP. ENDIF.
    WRITE: / 'UPLOAD:'.
    LOOP AT ITAB. WRITE: / ITAB-TXT. ENDLOOP.

  • Loading Text data into internal table

    I have a text file to load txt data into internal table. So how to read text data with validation and to load all text data into the internal table?
    Say this is the text file:
    IO_NAME, IO_TYPE, IO_SHTXT, IO_LONGTEXT, DATATYPE, DATA LENGTH
    ZIO_TEST1, CHA, IO TEST1, IO TEST 1, CHAR, 20
    ZIO_TEST2, CHA, IO TEST2, IO TEST 2, CHAR, 20
    Regards,
    Mau

    hi Mau,
    look this code, maybe it's help u.
    <b>REPORT  ZTXTTOTABLE.</b>
    DATA: p_file   TYPE string value 'C:\teste.txt',
          BEGIN OF TI_table OCCURS 0,
            COD(5) TYPE C,
            NAME(40),
          END OF TI_table,
          a(2).
    PARAMETERS: sel_file(128) TYPE c
                default 'C:\teste.txt' OBLIGATORY LOWER CASE.
    p_file = sel_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename = p_file
      TABLES
        data_tab = ti_table[].
    format color COL_TOTAL INTENSIFIED ON.
    loop at ti_table.
      write: / sy-vline, ti_table-cod, at 10 sy-vline, ti_table-name,
             at 60 sy-vline.
    endloop.
    write: / sy-uline(60).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR sel_file.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_filename     = ''
          def_path         = 'C:\'
          mask             = ',Documentos de texto (*.txt), *.txt.'
          mode             = ''
        IMPORTING
          filename         = p_file
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
      find '.txt' IN p_file.
      if sy-subrc <> 0.
        concatenate p_file '.txt' into sel_file.
      else.
        sel_file = p_file.
      endif.
    top-of-page.
      format color COL_HEADING INTENSIFIED ON.
      uline (60).
      write: / sy-vline, 'COD', at 10 sy-vline, 'NAME', at 60 sy-vline.
      write: / sy-uline(60).
    good luck!
    Regards
    Allan Cristian

Maybe you are looking for