XML-Table, EXPDP data

Hello

My environment:


+ Linux Red Hat 5.4 1 / 32 - Bit + company Oracle 10.2.0.4
+ Linux Red Hat 5.4 1 / 64 - Bit + company Oracle 11.2.0.2
+ Taste patterns scott, hr, oe, bi, pm...

expdp system / * parfile = full.par

where full.par contains:
DIRECTORY=EXPDMP
DUMPFILE=strm.dmp
LOGFILE=strm.log
FULL=y
After the execution
expdp system/STRM  parfile=full.par FLASHBACK_SCN=9999999
I got the following error in the log file:
ORA-39139: Data Pump does not support XMLSchema objects. TABLE_DATA:"OE"."PURCHASEORDER" will be skipped.
My question:

How can I export and import this table without losing its structure?

Thanks in advance and best regards

hqt200475

Data Import/Export XML using normal exp/imp utility not datapump.

Tags: Database

Similar Questions

  • Reading XML using XSLT data

    I have a problem of reading xml using XSLT data. There is a CASE - 900000016, has two sequences. SEQ NO1 and NO2 SEQ. Each sequence has an activity. I try to display the info of the activity under corresponding sequences.

    SEQ 01

    Activity

    SEQ 02

    Activity

    This is the xml file.

    <? XML version = "1.0" encoding = "utf-8" standalone = "yes"? >
    < case >
    < EventList >
    < PAEvent >
    < CASENO > 900000016 < / CASENO >
    < > 01 SEQ_NO < / SEQ_NO >
    APPROVED < STATUS > < / STATUS >
    < REASON > < / REASON >
    < PR_NO > 506024 < / PR_NO >
    < SRV_BEG_DAT > 11/02/2010 < / SRV_BEG_DAT >
    < SRV_END_DAT > 11/02/2010 < / SRV_END_DAT >
    < / PAEvent >
    < PAEvent >
    < CASENO > 900000016 < / CASENO >
    < > 02 SEQ_NO < / SEQ_NO >
    APPROVED < STATUS > < / STATUS >
    < TYPE > < / TYPE >
    < REASON > < / REASON >
    < PR_NO > < / PR_NO >
    < SRV_BEG_DAT > 11/02/2010 < / SRV_BEG_DAT >
    < SRV_END_DAT > 28/02/2010 < / SRV_END_DAT >
    < / PAEvent >
    false < hasErrors > < / hasErrors >
    < / EventList >
    < ActivitiesList >
    < PAActivity >
    < CASE_NO > 900000016 < / CASE_NO >
    < > 01 SEQNO < / SEQNO >
    < ACTVTY_LN_NO > 03 < / ACTVTY_LN_NO >
    < ACTVTY_TYP >: < / ACTVTY_TYP >
    < UNIT_PRC > 16.2500 < / UNIT_PRC >
    < / PAActivity >
    < PAActivity >
    < CASE_NO > 900000016 < / CASE_NO >
    < > 02 SEQNO < / SEQNO >
    < ACTVTY_LN_NO > 01 < / ACTVTY_LN_NO >
    < ACTVTY_TYP > P < / ACTVTY_TYP >
    < UNIT_PRC > 0.0000 < / UNIT_PRC >
    < / PAActivity >
    false < hasErrors > < / hasErrors >
    < / ActivitiesList >
    < / Cases >


    XSLT code

    <? XML version = "1.0" encoding = "utf-8"? >
    < xsl: stylesheet version = "1.0" xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" >
    < xsl: template match = "Case" >
    < div Id = "dvEvents" align = "center" >
    <!--list of events-->
    < table width = "75%" border = "0" >
    < style tr = "text-align: left;" background-color: gray; ">
    < td colspan = "8" class = "SmallBlackFontBolder" >
    < b > < /b > events
    < table >
    < /tr >
    < xsl: for-each select = "EventList/PAEvent" >
    < b >
    < class td = "SmallBlackFontBold" style = "" text-align: left; "width ="8% "> Seq No.: < table >"
    < class td = "SmallGreenFontBold" align = "left" width = "10%" >
    < xsl: value-of select = "SEQ_NO" / >
    < table >

    < class td = "SmallBlackFontBold" align = "left" width = "8%" > status: < table >
    < td align = "left" width = "11%" >
    < xsl: value-of select = "STATUS" / >
    < table >
    < /tr >

    < b >
    < td >
    <!--get the list of activities-->
    < xsl: for-each select = "Case/ActivitiesList/PAActivity" >
    < xsl: if test = "Case, EventList, PAEvent, SEQ_NO = case, ActivitiesList, PAActivity, SEQNO" >
    < table width = "75%" >
    < b >
    < class td = "SmallBlackFontBold" style = "" text-align: left; "width ="8% "> Seq No.: < table >"
    < class td = "SmallGreenFontBold" align = "left" width = "10%" >
    < xsl: value-of select = "Case, ActivitiesList, PAActivity, SEQNO" / >
    < table >
    Unit price < td >: < table >
    < td align = "left" width = "11%" >
    < xsl: value-of select = "Case, ActivitiesList, PAActivity, UNIT_PRC" / >
    < table >
    < /tr >
    < /table >
    < / xsl: if >
    < / xsl: foreach >
    <!--get the list of activities-->
    < table >
    < /tr >

    < b >
    < class td = "SmallBlackFontBold" align = "left" width = "8%" > reason: < table >
    < td align = "left" width = "20%" >
    < xsl: value-of select = "PAEvent/EventList/reason" / >
    < table >
    < td > < table >
    < td > < table >
    < class td = "SmallBlackFontBold" align = "left" width = "14%" > PR_NO: < table >
    < td align = "left" width = "18%" >
    < xsl: value-of select = "PAEvent/EventList/PR_NO" / >
    < table >
    < /tr >

    < / xsl: foreach >
    < /table >

    < / div >
    < / xsl: template >
    < / xsl: stylesheet >

    Published by: 837989 on April 25, 2013 14:13
  • How to save the program table AFTER data is complete? (a single solution sad time)

    Hi all

    I have a Labview program that gathers data from the oscilloscope as an experience runs.  Some hardware problem made me have to stop the program at the beginning and some silly programming on my part was no infallible control to backup my data if a situation of demolition program was born.  (I have it autosave the table when occurs a software error or the program ends or you press a manual off button).

    As soon as now, I have a table of data filled on my screen before I need program with all of the experimental data, so I need a way to save this current data table. This is a great set of data which is not easy to repeat.  Is there a way to do this? (in addition to writing a better program for the next time

    Thanks for your help!

    Yes, you should be able to click with the right button on the table and copy the data or export them to Excel.

    You can also try to create a constant in the table (do not delete the original until you have your data if!) and then you can copy + paste into a simple VI which records data in the constant to disk.

  • Article 059 (filter how-to ADF related tables by date range) in JDeveloper 12 c (12.1.3)

    Hello.

    I try to implement a solution to article 059 (filter how-to ADF related tables by date range) in JDeveloper (12.1.3) 12 c but hothing happen when I start this example.

    Could someone advise me what to do to make this example work properly on JDeveloper 12 c?

    I made the example work again. The problem is that you can't somehow store new attribute values in the card more. If you store the values for the filter to a different place, it works again.

    Please read the complete solution in my blog https://tompeez.wordpress.com/2015/04/11/how-to-filter-adf-bound-tables-by-date-range-jdeveloper-12-1-x/

    You can download the workspace of GitHub. The link is provided at the end of the blog.

    Timo

  • Hi Please clarify me the requirment system so that I don't have tables and data on more than 20 billion?

    Hi Please specify me the system requirements so that I don't have tables and data on more than 20 billion?

    SET ECHO OFF;

    SET FEEDBACK OFF;

    SET SERVEROUTPUT ON;

    GAME CHECK

    SET PAGES 0;

    ALIGN THE HEAD

    Set linesize 200 trimspool on

    the value of colsep «,»;

    SELECT 2013 AS YEAR, 3 AS A PERIOD, 'RQ' AS PERIOD_TYP, 'SRVC_DT' AS ANALYSIS_TYP, NO_MEM_SRVCD AS MLTS_TYP, SRVC_CATG_CDE, SRVC_SUB_CATG, SUM (COST), SUM (NO_CLAIMS) AS NO_CLAIMS, SUM (NO_MEM_SRVCD) AS 'NMLTS '.

    OF ICUSER. CLAIM_DETAIL, ICUSER. SSCATG_SCATG_MAP_MSTR

    WHERE SRVC_SUB_CATG = SRVC_SUB_CATG_CDE

    AND ((YEAR_SRVC = 2013 ET MONTH_SRVC))<=>

    OR (YEAR_SRVC = 2012 AND MONTH_SRVC > = 10))

    GROUP HERE 2013, 3, 'RQ', 'SRVC_DT', 'NMLTS', SRVC_CATG_CDE, SRVC_SUB_CATG

    COIL C:\Users\ATCS23\Desktop\Sql_Ldr\testscript10.txt

    /

    spool off

    You may need to adjust the number of linesize.

    David Fitzjarrell

  • How to find / search the text in a table of data displayed in adobe flash player?

    I have a table of data displayed on the browser, but with Adobe Flash Player UI technology. CTRL + f does not work on the table to find a specific word in the table.


    What are alternates, you ask? or all the other shortcuts are available to search or search the text in such a case?

    Thank you.

    There is no good workaround solution.  The developer would have needed to implement a similar feature in their Flash application, or they would have needed to use StageText (which essentially exposes the native textfields), but it seems that they have neither.  The HTML TextField is certainly more robust and functional of the Flash, and honestly, HTML is probably a better choice of technology for what you describe.

  • Drop-down menu used with anchor on the long table of data links

    Hello

    I have a page on our site where we used a drop shape with anchor tags to let the visitor easy access to specific locations within a long table of data on the same page. Recently, I noticed that the anchors are walking around is no longer the tags in the page but only the beginning of the table anyway. I don't know if over time a few additional codes may have been added to the page that is not in conflict with the form of drop down menu, or if it's something else. I've been agonizing about this for awhile now and unable to fix. I'm hoping a new set of eyes will revisit the issue. the url is http://www.vectron.com/products/saw/saw.htm

    Thank you

    Looks like there are a good number of errors html on this page, some of them have to do with using the code of the named anchor.

    Looks like you have placed the anchors between the openingand the child of the opening. Content cannot go there, move them in theTags and see if that helps.

    It could be something else however, html errors are one of the main causes of the problems of display/functionality. Visit the validator to http://validator.w3.org to clean up your errors. If you work with the code clean and correctly positioned anchors, after return and we can take a closer look.

  • Loading the XML in Oracle XML Table/OWB

    Hi gurus,

    Need help to load the XML file into oracle XML table /OWB.

    Here is an example of XML file

    < GEBIZ_PURCHASE_ORDER xmlns = "http://ordabc.xmlbeans.order.importexport.de" >
    < HEADER >
    external < ORDER_CODE > < / ORDER_CODE >
    < EXTERNAL_SYSTEM_CODE > E < / EXTERNAL_SYSTEM_CODE >
    < AMENDMENT_NUMBER > 1 < / AMENDMENT_NUMBER >
    < VARIATION_NUMBER > 1 < / VARIATION_NUMBER >
    document in < DESCRIPTION > < / DESCRIPTION >
    < FINANCIAL_SYSTEM >
    PR < SUB_BUSINESS_UNIT > < / SUB_BUSINESS_UNIT >
    < NFS >
    < COST_CENTER_GROUP > 21 < / COST_CENTER_GROUP >
    < BUYER_CODE > 121 < / BUYER_CODE >
    < FINANCIAL_SYSTEM_ORDER_CODE > 23 < / FINANCIAL_SYSTEM_ORDER_CODE >
    < USER_NRIC > 8 < / USER_NRIC >
    < / NFS >
    < SAP >
    < PURCHASING_GROUP > 3 < / PURCHASING_GROUP >
    < / SAP >
    < / FINANCIAL_SYSTEM >
    < STATUS > ELEMENT < / STATUS >
    < / Header >
    ELEMENTS <>
    < ITEM >
    < LINE_NUMBER > 1 < / LINE_NUMBER >
    the COSTS OF HANDLING < DESCRIPTION > < / DESCRIPTION >
    < UNIT_OF_MEASURE > M < / UNIT_OF_MEASURE >
    < QUANTITY > 12 < / QUANTITY >
    SERVICES < LINE_TYPE > < / LINE_TYPE >
    < UNIT_PRICE > 12 < / UNIT_PRICE >
    < PRICE_UNIT > 12 < / PRICE_UNIT >
    < > 12 TOTAL_AMOUNT < / TOTAL_AMOUNT >
    < STATUS > < / STATUS >
    < / POINT >
    < ITEM >
    < LINE_NUMBER > 2 < / LINE_NUMBER >
    COSTS OF HANDLING CARGO < DESCRIPTION > < / DESCRIPTION >
    < UNIT_OF_MEASURE > M < / UNIT_OF_MEASURE >
    < QUANTITY > 13 < / QUANTITY >
    SERVICES < LINE_TYPE > < / LINE_TYPE >
    < UNIT_PRICE > 14 < / UNIT_PRICE >
    < PRICE_UNIT > 14 < / PRICE_UNIT >
    < > 1200 TOTAL_AMOUNT < / TOTAL_AMOUNT >
    < STATUS > STATUSDELIVERED < / STATUS >
    < / POINT >
    < / OBJECT >
    < / GEBIZ_PURCHASE_ORDER >

    I created the table and the procedure below

    create the table xxpo_estimate_details
    (ORDER_CODE, varchar2 (100),)
    EXTERNAL_SYSTEM_CODE varchar2 (100),
    AMENDMENT_NUMBER varchar2 (100),
    VARIATION_NUMBER varchar2 (100),
    DESCRIPTION varchar2 (100),
    SUB_BUSINESS_UNIT varchar2 (100),
    COST_CENTER_GROUP varchar2 (100),
    BUYER_CODE varchar2 (100),
    FINANCIAL_SYSTEM_ORDER_CODE varchar2 (100),
    USER_NRIC varchar2 (100),
    PURCHASING_GROUP varchar2 (100),
    FS_STATUS varchar2 (100),
    PR_LINE_NUMBER varchar2 (100),
    PR_DESCRIPTION varchar2 (100),
    UNIT_OF_MEASURE varchar2 (100),
    PR_QUANTITY varchar2 (100),
    LINE_TYPE varchar2 (100),
    Unit_price varchar2 (100),
    PRICE_UNIT varchar2 (100),
    TOTAL_AMOUNT varchar2 (100),
    PR_STATUS varchar2 (100));


    declare
    acct_doc xmltype: = xmltype (bfilename('FLAT_FILES','PO_DETAILS_COPY.xml'), nls_charset_id ('AL32UTF8'));
    BEGIN
    insert into xxpo_estimate_details
    (ORDER_CODE,
    EXTERNAL_SYSTEM_CODE,
    AMENDMENT_NUMBER,
    VARIATION_NUMBER,
    DESCRIPTION,
    SUB_BUSINESS_UNIT,
    COST_CENTER_GROUP,
    BUYER_CODE,
    FINANCIAL_SYSTEM_ORDER_CODE,
    USER_NRIC,
    PURCHASING_GROUP,
    FS_STATUS,
    PR_LINE_NUMBER,
    PR_DESCRIPTION,
    UNIT_OF_MEASURE,
    PR_QUANTITY,
    LINE_TYPE,
    UNIT_PRICE,
    PRICE_UNIT,
    TOTAL_AMOUNT,
    PR_STATUS
    )
    SELECT X 1. ORDER_CODE,
    X 1. EXTERNAL_SYSTEM_CODE,
    X 1. AMENDMENT_NUMBER,
    X 1. VARIATION_NUMBER,
    X 1. DESCRIPTION,
    X 1. SUB_BUSINESS_UNIT,
    X 1. COST_CENTER_GROUP,
    X 1. BUYER_CODE,
    X 1. FINANCIAL_SYSTEM_ORDER_CODE,
    X 1. USER_NRIC,
    X 1. PURCHASING_GROUP,
    X 1. STATUS,
    X 2. LINE_NUMBER,
    X 2. DESCRIPTION,
    X 2. UNIT_OF_MEASURE,
    X 2. QUANTITY,
    X 2. LINE_TYPE,
    X 2. UNIT_PRICE,
    X 2. PRICE_UNIT,
    X 2. TOTAL_AMOUNT,
    X 2. STATUS
    FROM XMLTABLE)
    ' / GEBIZ_PURCHASE_ORDER/HEADER.
    passage acct_doc
    header_no of columns for the ordinalite,
    Path of varchar2 (100) ORDER_CODE "ORDER_CODE"
    Path of varchar2 (100) EXTERNAL_SYSTEM_CODE "EXTERNAL_SYSTEM_CODE"
    Path of AMENDMENT_NUMBER VARCHAR2 (100) "AMENDMENT_NUMBER."
    PATH OF VARCHAR2 (10) VARIATION_NUMBER "VARIATION_NUMBER"
    DESCRIPTION VARCHAR2 (100) PATH "DESCRIPTION."
    PATH OF VARCHAR2 (100) SUB_BUSINESS_UNIT "FINANCIAL_SYSTEM/SUB_BUSINESS_UNIT,"
    PATH OF VARCHAR2 (10) COST_CENTER_GROUP "FINANCIAL_SYSTEM/NFS/COST_CENTER_GROUP,"
    PATH OF VARCHAR2 (50) BUYER_CODE "FINANCIAL_SYSTEM/NFS/BUYER_CODE,"
    PATH OF VARCHAR2 (50) FINANCIAL_SYSTEM_ORDER_CODE "FINANCIAL_SYSTEM/NFS/FINANCIAL_SYSTEM_ORDER_CODE,"
    PATH OF VARCHAR2 (50) USER_NRIC "FINANCIAL_SYSTEM/NFS/USER_NRIC,"
    PATH OF VARCHAR2 (50) PURCHASING_GROUP "FINANCIAL_SYSTEM/SAP/PURCHASING_GROUP,"
    PATH VARCHAR2 (50) STATUS 'STATUS '.
    ) X 1,
    XMLTable)
    ' / GEBIZ_PURCHASE_ORDER/ITEMS/ITEM ".
    passage acct_doc
    columns for the ordinalite header_no
    path of columns LINE_NUMBER varchar2 (10) "LINE_NUMBER.
    Path varchar2 (100) DESCRIPTION "DESCRIPTION."
    PATH OF VARCHAR2 (100) UNIT_OF_MEASURE "UNIT_OF_MEASURE"
    PATH VARCHAR2 (10) OF "QUANTITY."
    PATH OF VARCHAR2 (100) LINE_TYPE "LINE_TYPE"
    PATH OF VARCHAR2 (10) UNIT_PRICE "UNIT_PRICE."
    PATH OF VARCHAR2 (10) PRICE_UNIT "PRICE_UNIT"
    PATH OF VARCHAR2 (10) TOTAL_AMOUNT 'TOTAL_AMOUNT ';
    PATH VARCHAR2 (120) STATUS 'STATUS '.
    ) X 2;
    -EXCEPTION
    -WHILE OTHERS THEN
    -DBMS_OUTPUT. PUT_LINE (' ERROR ' |) SQLERRM);
    END;

    When I run the above procedure, it runs successfully but the records charge not in the table.

    When I remove the attribute xmlns = "http://ordabc.xmlbeans.order.importexport.de" and start the process, and then load the records.

    can you please is it possible in the xml file without change? (deletion of the attribute)

    If choose table for loading XML /OWB XML files then what are challeges and challenges we face.

    Add two expressions XMLTable XMLNAMESPACES clause:

    ...
    
    FROM XMLTABLE(
      XMLNamespaces(default 'http://ordabc.xmlbeans.order.importexport.de')
    , '/GEBIZ_PURCHASE_ORDER/HEADER'
    
    ...
    
  • Please help understand the mappings between PS &amp; tables tables of data warehouse

    Hello
    We have OBIEE 11 g with OLIVIER 7.9.6.3 (HR Analytics) installation with Informatica PowerCenter SE 9.01 HF2. We use PeopleSoft HRMS 9.1 system source.
    Can you please help me how to understand the flow of data from end to end (or data model with relationship) between the PeopleSoft Tables and tables of data warehouse? Y at - it none available who liaises between the PeopleSoft HRMS tables and tables of data warehouse?

    PS We are new to Informatica workflow maps to find it very difficult to understand each mapping for each table.

    You can use the guide to table HR analytics on metalink. Here's the note:

    HR Analytics, Oracle Business Intelligence - Source tables uses [ID 1328607.1]

    This will show you the use of the main table. If you need the full line, you can use the data lineage Guide.

    If it helps, please mark as correct.

  • Apply CSS to XML in AS3 data

    I know that this subject has been repeated several times, but despite having looked at a lot of discussions and web pages on the topic, I was not able to understand why mine does not work, I'm looking for help.

    Here is my code:

    CSS:

    @charset "utf-8";

    / * CSS document * /.

    {p}

    are-family: Arial;

    are-size: 25px;

    color: #000;

    }

    XML:
    <? XML version = "1.0" encoding = "utf-8"? >
    < tbContent >
    < slide > <! - 0 - >
    < title > contents < /title >
    content of < type > < / type >
    < content > <! [CDATA [< p > what is a Test of Mantoux skin? < /p >]]
    < p > how to administer a Mantoux skin Test < /p >
    < p > how to read a Mantoux skin Test < /p >
    < p > how to interpret the reading < /p >]] > < / content / >
    < image > Blank.jpg < / image >
    < popup > 0 < / popup >
    < reference > 0 < / reference >
    < / slide >
    < / tbContent >
    AS3:
    var container: content_mc = new content_mc();
    Implement xml file objects
    var xmlData:XML = new XML();
    XML.ignoreWhitespace = true;
    var xmlLoader:URLLoader = new URLLoader();
    External CSS document
    var cssLoader:URLLoader = new URLLoader();
    var cssRequest:URLRequest = new URLRequest ("css.css");
    var style: StyleSheet = new StyleSheet();
    cssLoader.load (cssRequest);
    cssLoader.addEventListener (Event.COMPLETE, onCSSComplete);
    function onCSSComplete(e:Event):void {}
    styles.parseCSS (cssLoader.data);
    xmlLoader.load (new URLRequest ("xml.xml"));
    xmlLoader.addEventListener (Event.COMPLETE, LoadXML);
    trace ("CSS has loaded.");
    }
    function LoadXML(e:Event):void {}
    xmlData = new XML (e.target.data);
    parseFile (xmlData);
    }
    function parseFile(xmlContent:XML):void {}
    stage.addChild (container);
    var content: TextField = new TextField();
    contents.styleSheet = styles;
    contents.htmlText = xmlContent.slide.content.text () [slide].
    contents.width = xW;
    contents.x = xSet.
    contents.y = ySet;
    contents.antiAliasType = "Advanced";
    contents.multiline = true;
    contents.autoSize = 'left ';
    contents.wordWrap = true;
    container.addChild (happy);
    }
    The text appears on the scene, but without formatting. I don't get any errors. If anyone can help with this it would be greatly appreciated.

    The default parser doesn't like the VAT statement charset in css:

    @charset "utf-8";

    Deletion of line of the file and you should be ok. Otherwise, you could write your own parser - or strip the statement on.

  • Identify the tables with data or not

    Hello

    I want to find the tables with data and containing not data without checking each table. Is there a possible way?

    Like this?

    select
      table_name,
        to_number(
          extractvalue(
            xmltype(
     dbms_xmlgen.getxml('select count(*) c from '||table_name))
            ,'/ROWSET/ROW/C')) count
      from user_tables;
    

    Or may be

    select
      table_name,
       CASE WHEN
           to_number(
              extractvalue(
                xmltype(
         dbms_xmlgen.getxml('select count(*) c from '||table_name))
                ,'/ROWSET/ROW/C'))>0 THEN 'Table Has Data'
        ELSE 'Table is Empty'
        END
      from user_tables;
    
  • After you generate a table in xml format, how can I save the result in an XML table?

    Hi all
    I used this feature to create a table in the XML schema:
    example:
    SELECT xmlelement ("State", xmlattributes (http://www.opengis.net/gml as "xmlns:gml"),)
    XMLFOREST (name as "Name", "Population" of the population)) of the State;
    result:
    < Statexmlns:gml = "http://www.opengis.net/gml" >
    < name > Wilkopolska < / name >
    the population of 35000 <>< / Population >
    < / state >
    Now I need to insert the result in an XML table, because I need to save the result to use the latter, I hope someone can help, and if there is other way to do this, it would be great.
    Thanks an ot and best regards,
    Lama.

    Just insert in a table...

    insert into t
    SELECT xmlelement("State", xmlattributes( 'http://www.opengis.net/gml' as "xmlns:gml"),
    xmlforest(name as "Name", population as "Population")) from state; 
    

    and a complete example:

    SQL> create table t (test xmltype)
      2  /
    
    Table created.
    
    SQL>
    SQL> create table state
      2  (name varchar2(10)
      3  ,population number
      4  )
      5  /
    
    Table created.
    
    SQL>
    SQL> insert into state values ('WI', 35000)
      2  /
    
    1 row created.
    
    SQL>
    SQL> SELECT xmlelement("State", xmlattributes( 'http://www.opengis.net/gml' as "xmlns:gml"),
      2  xmlforest(name as "Name", population as "Population")) from state; 
    
    XMLELEMENT("STATE",XMLATTRIBUTES('HTTP://WWW.OPENGIS.NET/GML'AS"XMLNS:GML"),XMLFOREST(NAMEAS"NAME",P
    ----------------------------------------------------------------------------------------------------
    WI35000
    SQL>
    SQL> insert into t
      2  SELECT xmlelement("State", xmlattributes( 'http://www.opengis.net/gml' as "xmlns:gml"),
      3  xmlforest(name as "Name", population as "Population")) from state; 
    
    1 row created.
    
    SQL> select *
      2    from t
      3  /
    
    TEST
    ----------------------------------------------------------------------------------------------------
    WI35000
    
  • How to retrieve xml soap column data into a clob table

    Hello

    I'm trying to retrieve the value of the clob column XML tag.

    Name of the table = xyz and column = abc (clob data type)

    data stored in the column to abc is as below

    "" < soapenv:Envelope xmlns:soapenv = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:head ="http://www.abc.com/gcgi/shared/system/header" xmlns:v6 = "http://www.abc.com/gcgi/services/v6_0_0_0" xmlns ="http://www.abc.com/gcgi/shared/system/systemtypes" > ""

    "< soapenv:Header xmlns:wsa = 'http://www.w3.org/2005/08/addressing' > '.

    "< RqHeader soapenv:mustUnderstand ="0"xmlns ="http://www.abc.com/gcgi/shared/system/header">."

    < DateAndTimeStamp > 2011-12-20T 16: 02:36.677 + 08:00 < / DateAndTimeStamp >

    < UUID > 1000002932 < / UUID >

    6_0_0_0 < version > < / Version >

    < ClientDetails >

    < Org > CBA < / Org >

    < OrgUnit > CBA < / OrgUnit >

    < channelId% > HBK < / ChannelID >

    < TerminalID > 0000 < / TerminalID >

    < SrcCountryCode > SG < / SrcCountryCode >

    < DestCountryCode > SG < / DestCountryCode >

    < UserGroup > HBK < / UserGroup >

    < / ClientDetails >

    < / RqHeader >

    < wsa: action >/SvcImpl/Bank /.

    SOAPEndpoint/AlertsService.serviceagent/OpEndpointHTTP/AlertDeleteInq < / wsa: action > < / soapenv:Header >

    < soapenv:Body >

    < v6:AlertDeleteInqRq >

    < v6:Base >

    < v6:VID > 20071209013112 < / v6:VID >

    <!-in option: - >

    < v6:Ref > CTAA00000002644 < / v6:Ref >

    < / v6:Base >

    < / v6:AlertDeleteInqRq >

    < / soapenv:Body >

    < / soapenv:Envelope >

    And I want to retrieve the values of tag

    < channelId% > and < v6:VID >

    can help someone, I tried with extractvalue but not able to get the values

    e210e26a-5109-4E16-9e40-d6c719094b0d wrote:

    Select x.* esb_output_temp t

    , xmltable (xmlnamespaces ('http://schemas.xmlsoap.org/soap/envelope' as "soapenv"))

    'http://www.abc.com/gcgi/shared/system/header', 'head ',.

    ( http://www.abc.com/gcgi/services/bank/alerts/v6_0_0_0' as 'v6')

    ,'/ soapenv:Envelope' to xmlparse (document t.med_req_payload)

    columns ChannelID varchar2 (10)

    path ' soapenv: / header/head: RqHeader / head: ClientDetails / head: ChannelID'

    , Path of varchar2 (30) VID ' soapenv:Body / v6:AlertDeleteInqRq / v6:Base / v6:VID'

    ) x ;

    Get the error:

    ORA-19112: error raised during the evaluation:

    XVM-01003: [XPST0003] syntax error in ' soapenv:'

    1 declare namespace soapenv is http://schemas.xmlsoap.org/soap/envelope;. Statement

    .

    ^

    If you do not run the exact query I posted. Why?

    You have changed the uri of namespace associated with the prefix of 'http://schemas.xmlsoap.org/soap/envelope/' to 'http://schemas.xmlsoap.org/soap/envelope' soapenv, see the difference?

    and there is a syntax error in the expression of path ChannelID: soapenv: / header

    See my example again once, you need not to tamper with it, at least not until you understand what you are doing.

  • Creating XML file using data from database table

    I have to create an xml file by using the data in the table of multiples. The problem that I face is data are huge it's millions, so I was wondering is it possible efective for the creation of an XML of this type.

    It would be great if you can suggest an approach to achieve my requirement.

    Thank you
    -Vinod

    An example of the forum: Re: how to generate the XML from the database table

    Published by: Marco Gralike on 18 October 2012 21:41

  • XML schema to generate data from the table of data from a repeating subform

    Hi all, I would like to have a check box that when checked, allows you to hide a quote form and make a purchase order form visible, carrying a part of the field of the form of citation data in a new table on the order form. I have attached to this form to https://workspaces.acrobat.com/?d=pqpsXx5VPi * LkMeVKrX57w if you want to take a look. If the check box is cleared, he hid the PO form and to make quite visible.

    The idea behind this is that my client will create his quote and send t to his client. Once the customer accepts the quote, he simply click a button to generate its purchase order send it to its supplier.

    It seems that I have buttons to add lines on the submission form that the problem is more complex. I would be able to do it myself if the table has a fixed number of lines and I was able to use global fields, and naming each cell something different, but because it's a single repeating subform, I can't operate at all.

    I understand that, because it's a repeating subform that I need to create an XML schema to do this, but also can not know for the life of me how to create the schema. I read tons of tutorials, but no idea how to apply it to my specific needs. I've been able to find only info on how to bind the data source once it's been created.

    I would be eternally grateful if someone could help out me.

    Thank you!

    I edited your form and put it here.

    Here's what I did:

    • Script inserted into your box renamed someone who mask/displays the purchase order / sales quotation
    • I have included a script object with a function I wrote to transfer data from as named fields/subforms from one section to another
    • Inserted a few fields in your table of purchase order

    What you need to do is to complete the development of your purchase order table. Make sure that the common fields between the quote and purchase tables have the same name in order to transfer data.

    No necessary schema.

    Kyle

Maybe you are looking for