Load xml-data in given table (thru xsl)

hi there
i have an xml-file which should be loaded into a given table, the validation is done via xsl-file
until now, i was able to use an oracle warehouse builder procedure which does. since i use the same data in another database without owb, i am sure there is another simple way to load this data from pl/sql.
can someone provide me a hint?
thanks
ps: the way like i did it until know:
wb_xml_load('<OWBXMLRuntime>'||
' <XMLSource>'||
' <file>C:\swift_msg.xml</file>'||
' </XMLSource>'||
' <targets>'||
' <target XSLFile="C:\swift_msg_1.xsl" dateFormat="yyyyMMdd">SWIFT_ARCHIVE</target>'||
' <target XSLFile="C:\swift_msg_2.xsl" dateFormat="yyyyMMdd">SWIFT_MESSAGE</target>'||
' </targets>'||
'</OWBXMLRuntime>');

In Oracle9i, you can use DBMS_XMLSave.
In Oracle Database 10g, you can use DBMS_XMLSTORE.

Similar Messages

  • Load XML Data to Oracle Table

    I am new to AQ and XML,
    We have a situation at our project, the last DBA left us without any previous notice and no one here know AQ and XML. So now it is my duty to learn and work on this project.
    We are getting Queue with XML information (i mean data) we have to dequeue and then store that data in oracle tables.
    I tried to each and every site to get a grip of what's the basic here, but I get lost. It's more easy for me to understand a concept by going through examples rather study chapters.
    This is what I did today from this site. (http://www.oracle.com/technology/sample_code/tech/java/codesnippet/xmldb/HowToLoadLargeXML.html#PLSQLCode)
    created the potable, then loaded data in potable as per example. Now I want to load this data in a table which I created in Oracle (10.2....) table.
    CREATE OR REPLACE PROCEDURE loadpurchaseorder
    IS
    -- Declare a CLOB variable
    poxml CLOB;
    BEGIN
    -- Store the Purchase Order XML in the CLOB variable
    poxml :=
    '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <PurchaseOrder>
    <PONum>1001</PONum>
    <Company>Oracle Corp</Company>
    <PONum>1002</PONum>
    <Company>NPC Corp</Company>
    <PONum>1003</PONum>
    <Company>FDCA Corp</Company>
    <PONum>1004</PONum>
    <Company>Mahesh Corp</Company>
    <PONum>1005</PONum>
    <Company>Habeeb Corp</Company>
    </PurchaseOrder>';
    -- Insert the Purchase Order XML into an XMLType column
    INSERT INTO potable
    (purchaseorder
    VALUES (XMLTYPE (poxml)
    --Handle the exceptions
    EXCEPTION
    WHEN OTHERS
    THEN
    raise_application_error
    (-20101
    , 'Exception occurred in loadPurchaseOrder procedure :'
    || Sqlerrm
    END loadpurchaseorder;
    execute loadpurchaseorder;PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.04
    select count(*) from potable;COUNT(*)
    1
    Elapsed: 00:00:00.00
    select * from potable;PURCHASEORDER
    <?xml version="1.0" encoding="ISO-8859-1" standalone='yes'?>
    <PurchaseOrder>
    <PONum>1001</PONum>
    <Company>Oracle Corp</Company>
    <PONum>1002</PONum>
    <Company>NPC Corp</Company>
    <PONum>1003</PONum>
    <Company>FDCA Corp</Company>
    <PONum>1004</PONum>
    <Company>Mahesh Corp</Company>
    <PONum>1005</PONum>
    <Company>Habeeb Corp</Company>
    </PurchaseOrder>
    Elapsed: 00:00:00.03
    create table xml_ora_data(corp_id number, corp_name varchar2(30));Table created.
    Now I want data from potable to be loaded in xml_ora_data.
    any help is appriciated...
    Thanks
    Habeeb

    Thanks for the quick response...
    XML_ORA_DATA is the table I created as below..
    create table xml_ora_data(corp_id number, corp_name varchar2(30));

  • 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]

  • 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 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 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 (1920x1080@60Hz)" value="" />
                <entry title="SyncMaster (1920x1080@60Hz)" value="" />
                <entry title="24W_LCD_TV (1920x1080@50Hz)" 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.

  • 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.

  • 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

  • How to load XML data to remote table?

    I have a table in our DEV instance with XMLTYPE data in it:
    TB_PAGE_DATA
    ( PAGEID INTEGER,
    PAGENAME VARCHAR2(250) NOT NULL,
    PAGECONTENT SYS.XMLTYPE,
    CREATEDATE DATE NOT NULL,
    UPDATEDATE DATE
    )The same table exists in PROD, but it is currently empty. I want to load it with all the records from DEV, but apparently I can't do this via DB Link since I get an error:
    INSERT INTO tb_page_data@prod_link
    (select *
    from tb_page_data)
    ORA-22804: remote operations not permitted on object tables or user-defined type columns

    Performing DML utilizing a remote table with XMLTYPE seems to be the issue, so I"m not sure if this would work also. In any case, the PROD instance does not have a link going back to the DEV instance. I cannot create this link.

  • 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

  • Loading XML data in Utilities

    I need to load some XML data into a staging table.
    I am using this navigation path...
    Home>Utilities>Data Load/Unload>Load>Load XML Data
    The staging table is setup with the columns in the XML file.
    I am receiving this error when I attempt to load the XML file:
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    I'm not sure that I have the correct columns in the table to match the XML file.
    Is there any documentation describing what columns should be in the table I am loading the XML data into?
    Many Thanks,
    Reid

    There are detail steps here: Sending XML file data into BW
    Otherwise please specify where you faced problems.

  • 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

  • Xml data upload into tables using loader

    Hi,
    I have to load XML file data into multiple tables using sqlloader. i wrote a cotrol file to execute this ,but i was not able to load the data into multiple tables at the same time, first loading table in control file is able to load the data ,rest of the load is giving error,please refer the below control file and log. Help me with your great efforts.
    Have a great day!
    Control file:
    LOAD DATA
    TRUNCATE
    INTO TABLE Derivative_Security
    WHEN DERIVATIVESECURITYID != ' '
    FIELDS TERMINATED BY '</DerivativeSecurity>' optionally enclosed by '"'
    TRAILING NULLCOLS
    DUMMY1 filler char(50000) Terminated by '<DerivativeSecurity ',
    DUMMY2 filler char(200) Terminated by WHITESPACE enclosed by 'FAS157Level="' and '"',
    DUMMY3 filler char(200) Terminated by WHITESPACE enclosed by 'FAS157MVAdjustable="' and '"',
    DUMMY4 filler char(200) Terminated by WHITESPACE enclosed by 'OriginalMV="' and '"',
    DUMMY5 filler char(200) Terminated by WHITESPACE enclosed by 'FAS157MVDelta="' and '"',
    DUMMY6 filler char(200) Terminated by WHITESPACE enclosed by 'FAS157AdjustedMV="' and '"',
    DUMMY7 filler char(200) Terminated by WHITESPACE enclosed by 'PLCurrency="' and '"',
    DERIVATIVESECURITYID Terminated by WHITESPACE enclosed by 'DerivativeSecurityID="' and '"',
    METDERIVATIVEID Terminated by WHITESPACE enclosed by 'MetDerivativeID="' and '"',
    MUREXTRANSNUMBER Terminated by WHITESPACE enclosed by 'MurexTransactionNumber="' and '"',
    DUMMY8 filler char(200) Terminated by WHITESPACE enclosed by 'Trader="' and '"',
    DUMMY9 filler char(200) Terminated by WHITESPACE enclosed by 'BuySell="' and '"',
    DETAILTYPE Terminated by WHITESPACE enclosed by 'DetailType="' and '"',
    DERIVATIVETYPE Terminated by WHITESPACE enclosed by 'DerivativeType="' and '"',
    AL_MANAGEMENTSIDE Terminated by WHITESPACE enclosed by 'AL_ManagementSide="' and '"',
    COUNTERPARTYCODE Terminated by WHITESPACE enclosed by 'CounterpartyCode="' and '"',
    COUNTERPARTYNAME Terminated by WHITESPACE enclosed by 'CounterpartyName="' and '"',
    CURRENCYCODE Terminated by WHITESPACE enclosed by 'CurrencyCode="' and '"',
    DUMMY10 filler char(200) Terminated by WHITESPACE enclosed by 'Coupon="' and '"',
    DUMMY11 filler char(200) Terminated by WHITESPACE enclosed by 'FixedFloatingIndicator="' and '"',
    DUMMY12 filler char(200) Terminated by WHITESPACE enclosed by 'IndexMultiplier="' and '"',
    DUMMY13 filler char(200) Terminated by WHITESPACE enclosed by 'IndexName="' and '"',
    DUMMY42 filler char(200) Terminated by WHITESPACE enclosed by 'Margin="' and '"',
    DUMMY14 filler char(200) Terminated by WHITESPACE enclosed by 'Comment11="' and '"',
    DUMMY15 filler char(200) Terminated by WHITESPACE enclosed by 'Comment12="' and '"',
    DUMMY16 filler char(200) Terminated by WHITESPACE enclosed by 'Comment13="' and '"',
    DUMMY17 filler char(200) Terminated by WHITESPACE enclosed by 'Comment21="' and '"',
    DUMMY18 filler char(200) Terminated by WHITESPACE enclosed by 'Comment22="' and '"',
    DUMMY19 filler char(200) Terminated by WHITESPACE enclosed by 'Comment23="' and '"',
    DUMMY20 filler char(2000) Terminated by WHITESPACE enclosed by 'TradeComment="' and '"',
    DUMMY21 filler char(200) Terminated by WHITESPACE enclosed by 'OptionCallPut="' and '"',
    DUMMY22 filler char(200) Terminated by WHITESPACE enclosed by 'OptionType="' and '"',
    DUMMY23 filler char(200) Terminated by WHITESPACE enclosed by 'SettleType="' and '"',
    DUMMY24 filler char(200) Terminated by WHITESPACE enclosed by 'RefISIN="' and '"',
    DUMMY25 filler char(200) Terminated by WHITESPACE enclosed by 'RefObligation="' and '"',
    DUMMY26 filler char(200) Terminated by WHITESPACE enclosed by 'Sensitivity="' and '"',
    DUMMY27 filler char(200) Terminated by WHITESPACE enclosed by 'EffectiveConvexity="' and '"',
    DUMMY28 filler char(200) Terminated by WHITESPACE enclosed by 'Vega="' and '"',
    DUMMY29 filler char(200) Terminated by WHITESPACE enclosed by 'NextResetDate="' and '"',
    DUMMY30 filler char(200) Terminated by WHITESPACE enclosed by 'LastResetDate="' and '"',
    EFFECTIVEDURATION Terminated by WHITESPACE enclosed by 'EffectiveDuration="' and '"',
    DUMMY31 filler char(200) Terminated by WHITESPACE enclosed by 'Instrument="' and '"',
    DUMMY32 filler char(200) Terminated by WHITESPACE enclosed by 'IssuerCode="' and '"',
    DUMMY33 filler char(200) Terminated by WHITESPACE enclosed by 'IssuerName="' and '"',
    DUMMY34 filler char(200) Terminated by WHITESPACE enclosed by 'IssuerREDCode="' and '"',
    DUMMY35 filler char(200) Terminated by WHITESPACE enclosed by 'Strategy="' and '"',
    DUMMY36 filler char(200) Terminated by WHITESPACE enclosed by 'StrikePrice="' and '"',
    MATURITYDATE Terminated by WHITESPACE enclosed by 'MaturityDate="' and '"',
    DUMMY37 filler char(200) Terminated by WHITESPACE enclosed by 'TickerSymbol="' and '"',
    DUMMY38 filler char(200) Terminated by WHITESPACE enclosed by 'MetPay="' and '"',
    DUMMY39 filler char(200) Terminated by WHITESPACE enclosed by 'MetRec="' and '"',
    DUMMY40 filler char(200) Terminated by WHITESPACE enclosed by 'Payrec="' and '"',
    DUMMY41 filler char(200) Terminated by WHITESPACE enclosed by 'RiskSection="' and '"',
    DUMMY54 filler char(200) Terminated by WHITESPACE enclosed by 'HedgedItem="' and '"',
    DUMMY43 filler char(200) Terminated by WHITESPACE enclosed by 'ResetFrequency="' and '"',
    DUMMY44 filler char(200) Terminated by WHITESPACE enclosed by 'ResetFrequencyNumber="' and '"',
    DUMMY45 filler char(200) Terminated by WHITESPACE enclosed by 'PaymentFrequency="' and '"',
    DUMMY46 filler char(200) Terminated by WHITESPACE enclosed by 'PaymentFrequencyNumber="' and '"',
    DUMMY47 filler char(200) Terminated by WHITESPACE enclosed by 'CapFloorCoupon="' and '"',
    DUMMY48 filler char(200) Terminated by WHITESPACE enclosed by 'RefIndexRate="' and '">',
    DUMMY50 filler char(1000) enclosed by "<Classification=" and "/>",
    DUMMY51 filler char(1000) enclosed by "<Classification=" and "/>",
    DUMMY52 filler char(1000) enclosed by "<Classification=" and "/>",
    DUMMY53 filler char(1000) enclosed by "<Classification=" and "/>"
    INTO TABLE DERIVATIVE_POSITION
    WHEN PORTFOLIOCODE != ' '
    FIELDS TERMINATED BY '</NewDataSet>' optionally enclosed by '"'
    TRAILING NULLCOLS
    DUMMY1 filler char(65000) terminated by '<DerivativePosition ',
    DERIVATIVESECURITYID TERMINATED BY WHITESPACE enclosed by 'DerivativeSecurityID="' and '"',
    PORTFOLIOCODE TERMINATED BY WHITESPACE enclosed by 'PortfolioCode="' and '"',
    LONGSHORTINDICATOR TERMINATED BY WHITESPACE ENCLOSED BY 'LongShortIndicator="' and '"',
    FAS157Level filler char(100) TERMINATED BY WHITESPACE enclosed by 'FAS157Level="' and '"',
    FAS157MVAdjustable filler char(100) TERMINATED BY WHITESPACE enclosed by 'FAS157MVAdjustable="' and '"',
    OriginalMV filler char(100)TERMINATED BY WHITESPACE enclosed by 'OriginalMV="' and '"',
    FAS157MVDelta filler char(100) TERMINATED BY WHITESPACE enclosed by 'FAS157MVDelta="' and '"',
    FAS157AdjustedMV filler char(100)TERMINATED BY WHITESPACE enclosed by 'FAS157AdjustedMV="' and '"',
    CURRENTNOTIONALLOCAL TERMINATED BY WHITESPACE enclosed by 'CurrentNotionalLocal="' and '"',
    CURRENTNOTIONALUSD TERMINATED BY WHITESPACE enclosed by 'CurrentNotionalUSD="' and '"',
    OPENQUANTITY TERMINATED BY WHITESPACE enclosed by 'OpenQuantity="' and '"',
    ORIGINALNOTIONALLOCAL TERMINATED BY WHITESPACE enclosed by 'OriginalNotionalLocal="' and '"',
    ORIGINALNOTIONALUSD TERMINATED BY WHITESPACE enclosed by 'OriginalNotionalUSD="' and '"',
    ORIGINALQUANTITY TERMINATED BY WHITESPACE enclosed by 'OriginalQuantity="' and '"',
    ACCRUEDINTERESTLOCAL TERMINATED BY WHITESPACE enclosed by 'AccruedInterestLocal="' and '"',
    ACCRUEDINTERESTUSD TERMINATED BY WHITESPACE enclosed by 'AccruedInterestUSD="' and '"',
    ACCRUEDINTERESTBASE TERMINATED BY WHITESPACE enclosed by 'AccruedInterestBase="' and '"',
    CLEANMARKETVALUEENDOFDAYLOCAL TERMINATED BY WHITESPACE enclosed by 'CleanMarketValueEndOfDayLocal="' and '"',
    CLEANMARKETVALUEENDOFDAYUSD TERMINATED BY WHITESPACE enclosed by 'CleanMarketValueEndOfDayUSD="' and '"',
    CLEANMARKETVALUEENDOFDAYBASE TERMINATED BY WHITESPACE enclosed by 'CleanMarketValueEndOfDayBase="' and '"',
    DIRTYMARKETVALUEENDOFDAYLOCAL TERMINATED BY WHITESPACE enclosed by 'DirtyMarketValueEndOfDayLocal="' and '"',
    DIRTYMARKETVALUEENDOFDAYUSD TERMINATED BY WHITESPACE enclosed by 'DirtyMarketValueEndOfDayUSD="' and '"',
    PREMIUMLOCAL TERMINATED BY WHITESPACE enclosed by 'PremiumLocal="' and '"',
    PREMIUMUSD TERMINATED BY WHITESPACE enclosed by 'PremiumUSD="' and '"',
    PREMIUMBASE TERMINATED BY WHITESPACE enclosed by 'PremiumBase="' and '"',
    BIDDIES TERMINATED BY WHITESPACE enclosed by 'Biddies="' and '"',
    ADDONEXPOSUREUSD TERMINATED BY WHITESPACE enclosed by 'AddOnExposureUSD="' and '"',
    RegulatoryExposureUSD filler char(100) TERMINATED BY WHITESPACE enclosed by 'RegulatoryExposureUSD="' and '"',
    PARCR01 filler char(100) TERMINATED BY WHITESPACE enclosed by 'PARCR01="' and '"',
    FAS133DESIGNATIONGAAP TERMINATED BY WHITESPACE enclosed by 'FAS133DesignationGAAP="' and '"',
    FAS133DESIGNATIONSTAT TERMINATED BY WHITESPACE enclosed by 'FAS133DesignationSTAT="' and '"',
    TRADEDATE TERMINATED BY WHITESPACE enclosed by 'TradeDate="' and '"',
    EffectiveDate filler char(100) TERMINATED BY WHITESPACE enclosed by 'EffectiveDate="' and '"',
    ALLOCATION TERMINATED BY WHITESPACE enclosed by 'Allocation="' and '"' "round(:ALLOCATION,4)",
    DUMMY36 filler char(100) enclosed by '/' and '>'
    Log:
    Table DERIVATIVE_SECURITY:
    4079 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    28074 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Table DERIVATIVE_POSITION:
    0 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    32153 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 248196 bytes(26 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 32153
    Total logical records rejected: 0
    Total logical records discarded: 28074

    When there are multiple tables in a control file, SQL Loader assumes the data for the first file in the second table immediately follows the last field in the first table. You probably want SQL Loader to start looking for the first column of the second table at the start of the second table. You can do this by using the POSITION clause
    DUMMY51 filler char(1000) enclosed by "<Classification=" and "/>",
    DUMMY52 filler char(1000) enclosed by "<Classification=" and "/>",
    DUMMY53 filler char(1000) enclosed by "<Classification=" and "/>"
    INTO TABLE DERIVATIVE_POSITION
    WHEN PORTFOLIOCODE != ' '
    FIELDS TERMINATED BY '</NewDataSet>' optionally enclosed by '"'
    TRAILING NULLCOLS
    DUMMY1 filler *position(1)* char(65000) terminated by '<DerivativePosition ',
    DERIVATIVESECURITYID TERMINATED BY WHITESPACE enclosed by 'DerivativeSecurityID="' and '"',
    PORTFOLIOCODE TERMINATED BY WHITESPACE enclosed by 'PortfolioCode="' and '"',
    .

  • Load XML data from UNIX Server Directly into Relational Database Tables

    Is there a way I can load data from an XML File into Oracle Tables , without having the Input XML file in some Oracle Server Directory. My XML File resides on UNIX Application server. And I need to directly load the data into Database tables. Without loading them into the Database Directory.
    Also I am looking for a solution that would not load my Database much and effect other running processes. Can it be done using SQL Loader ?
    Oracle Database Version is : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

    Thanks for your reply ,
    Please would you quote an Example about : 'Load the file into that table using SQL*Loader'  (From UNIX Server) Or instance of some existing thread that relates to my situation.
    The Size of the File would be about 3 GB. For a similar requirement one of my peers Code which used XMLTABLE and XPATH Approach consumed a lot of resources while running and caused the other Database Applications to slow down. Thus those guys have come up with an approach to :
            Parse XML using a C Code using some STRING Functions =>  For a CSV or Fixed width .dat file and then use SQL Loader to just load the file into Tables.
            This approach is efficient in terms of Resources and Time(Takes 5 mins). But I am not confident about parsing XML based on String based C Functions.
             Please comment about this approach . Also if possible Suggest the best efficient way of doing this.

Maybe you are looking for