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.
Similar Messages
-
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 AMHi,
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] -
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
HabeebThanks 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 ,
SanHope 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 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,
MauHi,
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. -
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 xml data into a database table....
Hi All,
Iam new to this forum.I have an xmldoc table of xmltype(datatype).Iam able to insert xml data to it.I have another table called new_books.sql:
CREATE TABLE NEW_BOOKS
TITLE VARCHAR2(255) NOT NULL,
LINK VARCHAR2(80) NULL,
PUBLISHER VARCHAR2(255) NULL,
SUBJECT VARCHAR2(80) NULL,
PUBDATE VARCHAR2(40) NULL,
DESCRIPTION VARCHAR2(4000) NULL,
AUTHOR VARCHAR2(80) NULL,
PRIMARY KEY(TITLE)
Now i want to copy the data in the xmldoc table into the table new_books.sql.Is there any procedure to do that in PL/SQL?
Given below is the xmlfile:
- <rdf>
- <item>
<title>Enterprise SOA: Designing IT for Business Innovation</title>
<link>http://safari.oreilly.com/0596102380?a=102682</link>
<publisher>O'Reilly</publisher>
<creator>Thomas Mattern</creator>
<creator>Dan Woods</creator>
<subject>IT Infrastructure</subject>
<date>April 2006</date>
</item>
</rdf>
Thanks in Advance,
Gita.Assuming the table xmldoc(of xmltype) has this XML
SQL> select * from xmldoc;
SYS_NC_ROWINFO$
<rdf>
<item>
<title>Enterprise SOA: Designing IT for Business Innovation</title>
<link>http://safari.oreilly.com/0596102380?a=102682</link>
<publisher>O'Reilly</publisher>
<creator>Thomas Mattern</creator>
<creator>Dan Woods</creator>
<subject>IT Infrastructure</subject>
<date>April 2006</date>
</item>
</rdf>
SQL> INSERT INTO NEW_BOOKS(TITLE, LINK, PUBLISHER, SUBJECT)
2 select extractvalue(value(x),'/rdf/item/title') as title,
3 extractvalue(value(x),'/rdf/item/link') as link,
4 extractvalue(value(x),'/rdf/item/publisher') as publisher,
5 extractvalue(value(x),'/rdf/item/subject') as subject
6 from xmldoc x
7 ;
1 row created. -
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 youHi,
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
thanksUse the DBMS_XMLSAVE.INSERTXML procedure.
It works fine. -
How to load XML data by sql*loader
I want to use SQL*loader to load XML file, which was briefly mentioned in "Application Developer's
Guide: XML" without any detail information and examples.
Does anyone have the information including sample control file or know where I can get the info?
Any help would be much appreciated.
Thanks.
Yi ZhongYi,
I found this on Meta-Link. Maybe this is it?
goal: How to load a XML document into XMLType data type?
fact: Oracle XML Developers Kit
fact: Oracle Server - Enterprise Edition
fact: SQL*Loader
fix:
The document can be loaded by SQL*Loader as if it was LOB data.
The following example (Unix commands) demonstrates how to do this:
$ ORACLE_SID=v901; export ORACLE_SID
$ ORAENV_ASK=NO; export ORAENV_ASK
$ . oraenv
$ sqlplus /nolog <<EOF
connect / as sysdba
drop user oss120517 cascade;
create user oss120517 identified by oss120517
default tablespace users temporary tablespace temp
quota unlimited on users;
grant connect,resource to oss120517;
revoke unlimited tablespace from oss120517;
connect oss120517/oss120517
create table test
(xml_id number
,xml_doc sys.xmltype);
EOF
$ cat <<EOF > sqlload.ctl
load data
infile *
into table test append
fields terminated by ','
(xml_id integer
,xml_filler filler char
,xml_doc lobfile(xml_filler) terminated by EOF)
begindata
1 , test.xml
EOF
$ sqlldr oss120517/oss120517 control=sqlload.ctl -
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_etI 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 -
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. -
Helped, how to load xml data into database
Hi,
Given a DTD, can the XML SQL Utility generate
the database schema?
I currently have the dtd file to define
the data type and xml data and I am looking
for ways of how the XML/DTD can be loaded
into the oracle db.
Any suggestions/recommendations are
appreciated.
Thanks,
Judy
nullYou could check out this web site:
http://www.rpbourret.com/xml/XMLAndDatabases.htm#software
where you can find a list of products that can translate a DTD to a relational schema. Also, there are several technical papers that discuss algorithms to carry out this translation. FYI, We have implemented a similar system,and testing it out.
null -
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.
Maybe you are looking for
-
Photoshop Elements 11 and Lenovo
I have a question and I can't seem to figure out how to reach anyone at Adobe Photoshop. My husband bought me a new laptop (Lenovo Yoga Pro 2, which is an Ultra HD computer with a Solid State Hard Drive). I've downloaded Photoshop Elements 11 and w
-
Hi, what are the main differences between sql and pl/sql...why v are using pl/sql rather then sql...can you please answer this question?
-
After updating to iOS 5.0.1, I no longer receive notifications
So I've recently updated to iOS 5.0.1. Everything was going great until my iPod stopped giving me push notifications for an unknown reason, and soon after, iMessages stopped sending/receiving messages. I've tried turning off apps in the notification
-
INTRASTAT monthly report. Report movements not just invoices!
Hi gurus, I have a problems regarding to purchase orders by launching the INTRASTAT monthly report. Program: RVEXDAIE. I´ve orders that does not appear in the request list from Intrastat. Theese orders have not received the invoice or it is pending
-
Oracle ORA-01102故障: cannot mount database in EXCLUSIVE mode
SQL> conn /as sysdba Connected to an idle instance. SQL> startup oracle instance started. Total System Global Area 276824064 bytes Fixed Size 778736 bytes Variable Size 137371152 bytes Database Buffers 138412032 bytes Redo Buffers 262144 bytes ORA-01