Help to download the xml of the oracle table below

Dear all,

I tried best to download the below xml to oracle table but giving the link between the tables is very difficult for me. can someone help me to import the XML below for oracle table

<? XML version = "1.0" encoding = "utf-8"? >
< Claim.Submission xmlns:tns = "http://www.haad.ae/DataDictionary/CommonTypes" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: noNamespaceSchemaLocation = "http://www.haad.ae/DataDictionary/CommonTypes/ClaimSubmission.xsd" >
< header >
MF65 < SenderID > < / SenderID >
C014 < ReceiverID > < / ReceiverID >
< TransactionDate > 03/12/2012 10:40 < / TransactionDate >
< RecordCount > 1 < / RecordCount >
< DispositionFlag > PRODUCTION < / DispositionFlag >
< / header >
< claim >
< ID > 23112 / < ID >
< MemberID > 100000874 < / MemberID >
A022 < PayerID > < / PayerID >
MF65 < ProviderID > < / ProviderID >
< EmiratesIDNumber > 111-1111-1111111-1 < / EmiratesIDNumber >
< raw > 115 < / gross >
< PatientShare > 20 < / PatientShare >
< net > 95 < / Net >
< meeting >
MF65 < FacilityID > < / FacilityID >
< type > 1 < / Type >
< > 47685 PatientID < / PatientID >
< Start > 02/11/2012 12:00 < / Start >
< / meeting >
< Diagnostics >
Principal of < type > < / Type >
< code > < code > 461.9
< / Diagnosis >
< Diagnostics >
Secondary < type > < / Type >
< code > < code > 462
< / Diagnosis >
< activity >
23112_1 < ID > < /ID >
< Start > 02/11/2012 12:00 < / Start >
< type > 3 < / Type >
< code > < code > 99202
< quantity > 1 < / quantity >
< net > 95 < / Net >
D1310 < clinician > < / clinician >
< / activity >
< / claim >
< Claim.Submission >

Pls tell me how I can get

Have you considered using the storage relational object for this?
Since you have patterns, you could record in the database, which will automatically create storage appropriate for your XML documents as well as validate at the time of insertion.
You can then create individual views to query the nested parts of the document and finally insert the data into relational tables final.

See the documentation for an introduction to the concepts:
http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/partpg2.htm#g997354

You will find examples on the {forum: id = 34} forum and its FAQ: {: identifier of the thread = 410714}

Tags: Oracle Development

Similar Questions

  • Insert data as XML into the Oracle Table

    Hi all

    I have a requirement where the data in XML format, and I need to insert into the Oracle Table. For example, I get XML data in the following format,
    < results >
    < row >
    < BANK_ACCOUNT_ID > 10010 < / BANK_ACCOUNT_ID >
    < BANK_ID > 300968 < / BANK_ID >
    Vision operations < LEGAL_ENTITY > < / LEGAL_ENTITY >
    < BANK_NAME > BofA < / BANK_NAME >
    < BANK_ACCOUNT_NUM > 10271-17621-619 < / BANK_ACCOUNT_NUM >
    < BANK_ACCOUNT_NAME > BofA-204 < / BANK_ACCOUNT_NAME >
    < BRANCH_NAME > New York < / BRANCH_NAME >
    USD < CURRENCY_CODE > < / CURRENCY_CODE >
    < BALANCE_DATE > 2007 - 11 - 09 < / BALANCE_DATE >
    < LEDGER_BALANCE > 432705900.56 < / LEDGER_BALANCE >
    < / row >
    < row >
    < BANK_ACCOUNT_ID > 10091 < / BANK_ACCOUNT_ID >
    < BANK_ID > 300984 < / BANK_ID >
    Vision industries < LEGAL_ENTITY > < / LEGAL_ENTITY >
    Barclay Bank < BANK_NAME > < / BANK_NAME >
    < BANK_ACCOUNT_NUM > 70986798 < / BANK_ACCOUNT_NUM >
    Bank Multi currency-626 < BANK_ACCOUNT_NAME > Barclays < / BANK_ACCOUNT_NAME >
    Reading < BRANCH_NAME > < / BRANCH_NAME >
    GBP < CURRENCY_CODE > < / CURRENCY_CODE >
    < BALANCE_DATE > 2007 - 11 - 14 < / BALANCE_DATE >
    < LEDGER_BALANCE > 24244085.24 < / LEDGER_BALANCE >
    < / row >
    < row >
    < BANK_ACCOUNT_ID > 10127 < / BANK_ACCOUNT_ID >
    < BANK_ID > 300968 < / BANK_ID >
    < LEGAL_ENTITY > SSC U.S. 01 < / LEGAL_ENTITY >
    < BANK_NAME > BofA < / BANK_NAME >
    < BANK_ACCOUNT_NUM > 4898744 < / BANK_ACCOUNT_NUM >
    < BANK_ACCOUNT_NAME > BofA SSC U.S. 02-7188 < / BANK_ACCOUNT_NAME >
    < BRANCH_NAME > New York < / BRANCH_NAME >
    USD < CURRENCY_CODE > < / CURRENCY_CODE >
    < BALANCE_DATE > 2007 - 11 - 28 < / BALANCE_DATE >
    < LEDGER_BALANCE > 10783815.28 < / LEDGER_BALANCE >
    < / row >
    < / results >

    I like to write PLSQL code that will receive these data with XML tags and insert it into the Oracle Table. Is this possible with built-in XML features provided in the Oracle database?

    Please Guide...

    Kind regards
    Priyanka

    But the problem is the file XML is to have the details of the records if you carefully observed the XML file. But by using more high statement select I get output in the following format.
    ORG_ID REQ_LINE PO_NUMBER EXPECTED_REC_QTY USER_NAME REQ_NUMBER
    204204 1444714450 11 64446445 11 OPERATIONSOPERATIONS

    The table has only one row, so you get a single row as output.
    I'm surprised that you find useful examples showing how to divide the data into several lines.

    (1) create the table with the following option, it will optimize the performance of storage and query for large XML documents:

    CREATE TABLE xxios_xml_data_test(xml_data XMLTYPE)
    XMLTYPE COLUMN xml_data STORE AS SECUREFILE BINARY XML
    ;
    

    (2) interview table with:

    SQL> select x.*
      2  from xxios_xml_data_test t
      3     , xmltable(
      4         '/Results/Row'
      5         passing t.xml_data
      6         columns ORG_ID           number       path 'ORG_ID'
      7               , REQ_NUMBER       number       path 'REQ_NUMBER'
      8               , REQ_LINE         number       path 'REQ_LINE'
      9               , PO_NUMBER        number       path 'PO_NUMBER'
     10               , EXPECTED_REC_QTY number       path 'EXPECTED_REC_QTY'
     11               , USER_NAME        varchar2(30) path 'USER_NAME'
     12       ) x
     13  ;
    
        ORG_ID REQ_NUMBER   REQ_LINE  PO_NUMBER EXPECTED_REC_QTY USER_NAME
    ---------- ---------- ---------- ---------- ---------------- ------------------------------
           204      14447          1       6444                1 OPERATIONS
           204      14450          1       6445                1 OPERATIONS
     
    
  • Link to download the "Oracle Application Development" Incorrect Runtime

    In the JDeveloper/ADF download page.
    URL - http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html

    There is a link to download the 'Oracle Application Development Runtime install'
    (see the last link at the end of the page).
    This link is incorrect:
    He points to the same page:
    http://www.Oracle.com/technetwork/developer-tools/ADF/downloads/index.html

    Published by: Didier Laurent October 18, 2011 14:58

    It is now resolved. It may take a while to refresh.

  • I need help to download the new LiveCycle Designer ES3 that comes with Acrobat Pro 11

    I need help to download the new LiveCycle Designer ES3 that comes with Acrobat Pro 11

    With Acrobat 11 us is no longer the LC Designer ES3 package with her. It is sold separately.

    Kind regards
    Rave

  • ODI - read CSV file and write to the Oracle table

    Hello world

    After 4 years, I started to work again with ODI, and I'm completely lost.

    I need help, I don't know what to use for each step, interfaces, variables, procedures...

    What I have to do is the following:

    (1) reading a CSV file-> I have the topologies and the model defined

    (2) assess whether there is a field of this CSV file in TABLE A-> who do not exist in the table is ignored (I tried with an interface joining the csv with the TABLE model a model and recording the result in a temporary data store)

    Evaluate 3) I need to update TABLE C and if not I need to INSERT if another field that CSV exists in TABLE B-> if there

    Could someone help me with what use?

    Thanks in advance

    Hi how are you?

    You must:

    Create an interface with the CSV template in the source and a RDBM table in the target (I'll assume you are using Oracle). Any type of filter or the transformation must be defined to be run in the stadium. (you must use a LKM for SQL file and add an IKM Sql control (it is best to trim them and insert the data when it cames to a file if you want after this process, you may have an incremental update to maintain history or something like that).)

    For validation, you will use a reference constraints in the model of the oracle table: (for this you need a CKM Oracle to check constraints)

    Then, you must select the table that you sponsor and in the column, you choose which column you will match.

    To article 3, you repeat the above process.

    And that's all. Pretty easy. If you do not have the two tables that you need to use your validation that you need to load before loading the CSV file you need valid.

    Hope this can help you

  • BlackBerry smartphones, I need help to download the new updated jour.03... something is weird...

    If some of you know how to do that, maybe u can you help me out?...

    I downloaded the jour.03 from the Crackberry site updated.   I saved it on my desktop.

    -J' open the downloaded file that has been saved on my desktop and click on 'Run' then chose my language...

    -then is asked me if I wanted to repair or remove BB device softwear and I hit the NEXT...

    -Then, I hit finish, but no office maneger mounted on its own so I opened it myself.

    -Phone was looking for updates and says no update is available for my phone. ???

    I've been messing around with this for seriously almost 4 hours to try to understand and I have to be brain dead or something, but I can't understand what I'm doing wrong...

    Help me if you know how please

    You mean the version.83.

    mjbesen310 wrote:

    -then is asked me if I wanted to repair or remove BB device softwear and I hit the NEXT...

    So, did you say to repair or remove?

    try to install new OS le.83.

    1. download the OS files to the PC then install on the PC by running (double click) the downloaded file.
    2. go in c:\program files Research in motion\apploader and delete the file named "vendor.xml."
    3. plug in the BB and double-click on "Loader.exe." It is located in the same place as the above vendor.xml file.

    The process takes about 45 minutes to an hour depending on the amount of data you need to back up and restore during the process. Once he did load the new OS, it will reboot (it may do it twice during the entire process.) You will see a white screen with a hourglass up to 20 minutes at a time while the DM says "waiting for initialization."
    If, for any reason, you end up with a white screen with small icons and the number 507, simply reconnect to the PC and run Loader.exe again and it should load the operating system on the device.

    Good luck.

  • XML document to the oracle tables - data isn't fatching

    Hello
    I'm new to xml and trying to extract some fields of XML to oracle to use more in the application tables. I wrote the following to extract the values, but nothing is fatching document:



    <? XML version = "1.0" encoding = "UTF-8"? >
    -dmsgo:DMS_GO_Interface xmlns:dmsgo = "https://globalordering.daimler.com/start/dms/interface/DMS_GO_Interface/v1" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "https://globalordering.daimler.com/start/dms/interface/DMS_GO_Interface/v1 DMS_GO_Interface_v1.xsd" >
    < dmsgo:majorversion > 1 < / dmsgo:majorversion >
    < dmsgo:identity context = datetimecreated "CONFGOFR_OUT" = "03/01/2011 10:51 ' source = 'go' sourceversion ="1.410.1"/ >"
    -< dmsgo:prospect >
    < code dmsgo:requestresponse = "0" / >
    < dmsgo:references / >
    -dmsgo:configurationcontext dataversion = LangueCode "2163" = "" orderingmarket = '867' saleslevel "O" = >
    < dmsgo:configurationdate > 03/01/2011 < / dmsgo:configurationdate >
    < / dmsgo:configurationcontext >
    -< dmsgo:vehicle >
    < dmsgo: variant baumuster = "2120482" manufacturercode = "2120482" / >
    < dmsgo:desc > E 200 CGI BlueEFFICIENCY sedan RHD < / dmsgo:desc >
    -< dmsgo:colorcombination >
    < dmsgo:interiorcolor codeowner = 'C' manufacturercode = "4201" = ppmtype "to THE" > black leather < / dmsgo:interiorcolor >
    < dmsgo:exteriorcolor = 'C' manufacturercode codeowner = "2497" ppmtype "READ" = > metal Brown corrosion < / dmsgo:exteriorcolor >
    < dmsgo:paintzone manufacturercode = "" preference = "2" / > "
    < / dmsgo:colorcombination >


    INSERT INTO p1 (flux_name, elment_1, elment_2, elment_3)
    SELECT flux_name, elment_1, elment_2, elment_3
    FROM XMLTable)
    XMLNamespaces ('https://globalordering.daimler.com/start/dms/interface/DMS_GO_Interface/v1' as 'dmsgo'),
    "dmsgo:DMS_GO_Interface/perspective/vehicle.
    passage xmltype (bfilename('DMLDIR','prospect.xml'), nls_charset_id ('CHAR_CS'))
    columns
    path of varchar2 (20) flux_name "dmsgo:variant/@baumuster"
    path of varchar2 (20) elment_1 "dmsgo:desc"
    path of varchar2 (20) elment_2 ' dmsgo:colorcombination / interiorcolor',
    path of varchar2 (20) elment_3 'dmsgo:colorcombination/interiorcolor/@manufacturercode '.
    );

    Help, please.

    Looking forward to early response.

    Thank you
    Usman

    Hello

    'Re missing you the prefix to namespace on elements.
    This should work:

    SQL> SELECT flux_name, elment_1, elment_2, elment_3
      2  FROM XMLTable(
      3    XMLNamespaces ('https://globalordering.daimler.com/start/dms/interface/DMS_GO_Interface/v1' as "dmsgo"),
      4    'dmsgo:DMS_GO_Interface/dmsgo:prospect/dmsgo:vehicle'
      5    passing xmltype(bfilename('DMLDIR','prospect.xml'), nls_charset_id('CHAR_CS'))
      6    columns
      7      flux_name varchar2(20) path 'dmsgo:variant/@baumuster',
      8      elment_1  varchar2(40) path 'dmsgo:desc',
      9      elment_2  varchar2(20) path 'dmsgo:colorcombination/dmsgo:interiorcolor',
     10      elment_3  varchar2(20) path 'dmsgo:colorcombination/dmsgo:interiorcolor/@manufacturercode'
     11  );
    
    FLUX_NAME            ELMENT_1                                 ELMENT_2             ELMENT_3
    -------------------- ---------------------------------------- -------------------- --------------------
    2120482              E 200 CGI BlueEFFICIENCY Sedan RHD       Leather black        4201
     
    
  • XML from the Oracle Table data

    Hi all

    I'm new to this network. I'm also new to oracle XML package. I want a help with the query below.

    CREATE TABLE EMP (ID NUMBER PRIMARY KEY, NAME VARCHAR2 (10), TELEPHONE NUMBER);

    INSERT INTO EMP (ID, NAME, PHONE) VALUES (11, 'Joy', 1234);
    INSERT INTO EMP (ID, NAME, PHONE) VALUES (22, 'Mike', 5678).
    INSERT INTO EMP (ID, NAME, PHONE) VALUES (33, "Jason", NULL);
    COMMIT;

    I want to export data from the EMP table in an XML file with the format below.

    Power required:

    <? XML version = "1.0" encoding = "UTF-8"? > < Joy STATICDATA > < EMP > < ID > 11 < /ID > < NAME > < / NAME > < / EMP > < / STATICDATA >
    <? XML version = "1.0" encoding = "UTF-8"? > < Mike STATICDATA > < EMP > < ID > 22 < /ID > < NAME > < / NAME > < / EMP > < / STATICDATA >
    <? XML version = "1.0" encoding = "UTF-8"? > < Jason STATICDATA > < EMP > < ID > 33 < /ID > < NAME > < / NAME > < / EMP > < / STATICDATA >

    I used some XML functions and you wrote the following query.

    Select XMLROOT (XMLELEMENT (staticdata, XMLELEMENT (EMP, XMLELEMENT(ID,ID), XMLELEMENT(NAME,NAME))), version "1.0" encoding = "UTF - 8') xml EMP;

    my query output:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < STATICDATA >
    < EMP >
    < ID > 11 / < ID >
    Joy of < NAME > < / NAME >
    < / EMP >
    < / STATICDATA >
    <? XML version = "1.0" encoding = "UTF-8"? >
    < STATICDATA >
    < EMP >
    < ID > 22 / < ID >
    < NAME > Mike < / NAME >
    < / EMP >
    < / STATICDATA >
    <? XML version = "1.0" encoding = "UTF-8"? >
    < STATICDATA >
    < EMP >
    < ID > 33 / < ID >
    Jason < NAME > < / NAME >
    < / EMP >
    < / STATICDATA >


    But I want the out as the power required above. all records in a single line. can someone help me achieve the desired output. also can I export all columns of the table with something like select * from the table in the XML file?

    Thank you
    Delobelle

    Don't know why you need it on a single line, but you could:

    Select XMLTYPE (REGEXP_REPLACE (XMLROOT (XMLELEMENT (staticdata, XMLELEMENT (EMP, XMLELEMENT(ID,ID), XMLELEMENT(NAME,NAME))), version "1.0" encoding = "UTF - 8'), CHR (10) |)) ' *<><'))>
    FROM EMP;

    SY.

  • Where can I download the Oracle HTTP Server?

    Friends,

    Hope you can help me with a problem installing of Apex.

    I just installed the 10.2.04 database for the 64 bit version of Vista (from this link http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10204_winx64_vista_win2k8.html)

    Now, I need to install the HTTP server to run Apex. I spent a few hours searching for OTN for her without success! The last time I installed Apex I found the server HTTP has been available on the companion CD, but after downloading the accompanying CD to 10.2.04 I don't see that it is there!

    Can someone provide a link to where I could find it?

    Thanks in advance.

    Concerning

    Ian

    Ian

    http://www.Oracle.com/technology/software/products/database/index.html

    Accept the license agreement, then click on see 'All' link under ' Microsoft Windows (32-bit)

    The download for the Oracle HTTP server is to the bottom of the page

    CITY

  • Help! Downloaded the El captain, and now I have a VIRUS trovi.

    Hello world

    I went to the app store and downloaded the software El captain... and now I have a virus!

    My search engine is bing, although I keep changing for Google... I have no extensions in Safari-> Preferences... and before he goes to Bing, it shows a Flash of Trovi.com.

    I have a MacBook air.

    I am so upset, can someone please please help.

    Thank you

    Click here and follow the instructions, or if it is not a type of adware is covered by them on the computer, these. If you would rather not remove it manually, you can run rather MalwareBytes for Mac.

    MalwareBytes is a removal tool and does not stop adware or other malware from entering the computer. For effective protection, do not download software from sources other than the Mac App Store or Developer Web sites.

    (138903)

  • Need help to download the attachment from mail Client

    Hello

    I am trying to download the attachment from the mail using AttachmentDownloadManager API. For that I am currently using the code below:

    public class MailMinder extends UiApplication {
    
    public static void main(String args[]) {
        MailMinder theApp = null;
            try {
                theApp = new MailMinder();
            } catch (Exception e) {
                Dialog.alert("Exception e = " + e.toString());
            } finally {
                theApp.enterEventDispatcher();
            }
        }
    
        private MailMinder() {
    
            AttachmentDownloadManager adm = new AttachmentDownloadManager();
            adm.download(bodypart, null, new DownloadProgressListener() {          // Not able to get the Bodypart object here
    
                                public void downloadCancelled(Object element) {
    
                                }
    
                                public void downloadCompleted(Object element) {
                                    //Here i am doing the parsing of the attachment
                                }
    
                                public void updateProgress(Object element, int current, int total) {
    
                                }
    
        }
    }
    

    As you can see, this API download() method is required the Bodypart object I get using the subject line of the Mail or of the Open Message.
    But I'm not able to get the object of the open message I tried using MessageListener and FolderListener API. And when I open a Message in the Messages Application, I must add a Menuitem.

    Can someone help me to get the Open Message of the Message object and add the Menuitem?

    Note: I don't want to use the Attachment Manager API as it's require the xirimdevice prefix in the name of the attachment.

    Hi Mark. I am able to fix this with a different approach. Please check in my blog: BlogforMobile

    Thanks a lot again for your support.

  • Download the oracle 11.2.0.3.7 database

    I got to know that I can download directly 11.2.0.3.

    I'm looking at oracle metalink, but I could not find.

    If someone has done that, and he knows how the path and the site please share.

    Hello

    You can connect to metalink

    My Oracle Support-> patches & updates-> Search Patch

    patch 10404530

    Select your platform and download the size of the plot would be ~ 5GB

    Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER

    HTH

  • Download the Oracle 11.2.0.2 for AIX 6 L 64-bit link

    All,

    I don't see the software for Oracle 11.2.0.2 for AIX 6 L 64-bit to Oracle.com downloads. Can anyone guide me where to download the software?


    Thanks in advance,
    Florine

    Salvation;

    I don't see the software for Oracle 11.2.0.2 for AIX 6 L 64-bit to Oracle.com downloads. Can anyone guide me where to download the software?

    As reference, you must download metalink as patcheset 11.2.0.2.x. 11.2.0.2 patcheset number is 10098816.

    For all available versions are:
    Quick reference to group of patches Patch [753736.1 ID] numbers

    As far as I KNOW AIX (PPC64) = AIXx power system 64-bit

    PS: Please don't forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Respect of
    HELIOS

  • Need help to download the product

    I bought Adobe Creative Suite 6 Design & Web Premium Student Edition from a retailer and I own the disk, but the disk drive on my laptop is broken, Ive already registered the product on adobe and I can not find a way to download the product, can someone help me?

    Download from http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

    Enter your serial number to authorize.

  • Download the oracle forms

    is it ok to download forms from the oracle site if it's for the home/self-training with the books?

    Read the OTN Developer license
    http://www.Oracle.com/technetwork/licenses/standard-license-152015.html

    see you soon

Maybe you are looking for

  • Java crashes firefox

    Any java time is needed, for example on the java page check, chrome/Firefox/IE freeze then crash in giving this information. I have reinstalled java, chrome, IE and reset Firefox.Problem event name: AppHangB1 Application Name: firefox.exe Application

  • Satellite L850-E8S - shutdown problems

    Hello everyone I bought Toshiba Satellite L850-E8S with Windows 8.0 (for a single language) preinstalled in October 2013. At the moment I can't get stop normally. Question: * pressing Shutdown (stop) of charms goes up "Windows is shutting down" and a

  • How turn off/backlight on Satellite A100 (PSAACE)?

    Is it possible to turn off the display and the backlight of the A100? There are 8 levels of backlighting, but none to turn it off. My previous journal had this feature, and I use it quite often.

  • Milestone Overclocking

    Hi What is the best setting for milestone 2.2 with milestone Overclock overclocking?

  • Are you able to capture a screen shot in Windows Media Center if you play a TV show or a movie?

    Screenshot of Media Center Are you able to capture a screen shot in Media Center if you play a TV show or a movie?  If so, how?  I tried to use the old print screen method, but that did not work. Thank you!