remove the xml namespace tag in OSB

OSB
-----
In the Proxy Service:
Once I get the response of Business Service 1, I have to send requests to Business Service 2.

Business Service 1 xml response is < Reference > 123 < / reference >

Business Service 2 xml query must be < > 123 ReferenceId < / ReferenceId >

Now, in my Proxy I used assign to the variable "refreq" and then in entitled (Xquery/xslt), I wrote

* < ReferenceId > {$webservices / / reference} < / ReferenceId > *.

webserviceres is the response Variable for ServiceCallout Document (that I used for Business Service 1).

Then, I used ServiceCallout to 2/Service of the company operation.


It is request to BS2 is sent as below.
< ReferenceId >
< reference xmlns:S = 'http://schemas.xmlsoap.org/soap/envelope/' xmlns:ns2="xmlns.oracle.com/xyz/XyzService/" > 123 < / reference > "
< / ReferenceId >

I want to just send as < > 123 ReferenceId < / ReferenceId >

Use the full path instead of / / and data()

{data($webservices//Reference)}

Tags: Fusion Middleware

Similar Questions

  • You need to remove the XML tag... Having the same element

    Hello guys,.

    need help, im having trouble removing the tag < EVENT [elem = 6] >

    < EVENTS elem = "6" >

    < FROM_CODE / >

    < PROMO_ID / >

    < TO_CODE / >

    < TELCO_INFO >

    < CALLED_TO > 0063 < / CALLED_TO >

    < CALLING_FROM > 63937390517 < / CALLING_FROM >

    < / TELCO_INFO >

    < GSM_INFO >

    < Indicated / >

    < USAGE_TYPE > DATA < / USAGE_TYPE >

    < / GSM_INFO >

    < START_T > 20/11/2015 22:08 < / START_T >

    < END_T > 20/11/2015 22:08 < / END_T >

    < BAL_IMPACTS elem = "0" >

    < AMOUNT > 0.89 < / AMOUNT >

    < IMPACT_TYPE > 258 < / IMPACT_TYPE >

    < QUANTITY > 103229 < / QUANTITY >

    < RATE_TAG / >

    VAT < TAX_CODE > < / TAX_CODE >

    < / BAL_IMPACTS >

    < BAL_IMPACTS elem = "1" >

    < AMOUNT > 0.11 < / AMOUNT >

    < IMPACT_TYPE > 4 < / IMPACT_TYPE >

    < QUANTITY > 0.89 < / QUANTITY >

    < RATE_TAG / >

    VAT < TAX_CODE > < / TAX_CODE >

    < / BAL_IMPACTS >

    < elem TOTAL = "608" >

    < AMOUNT > 1 < / AMOUNT >

    < / TOTAL >

    < AMOUNT_GROSS > 1 < / AMOUNT_GROSS >

    < AMOUNT_TAXED > 0.89 < / AMOUNT_TAXED >

    < / EVENTS >

    < EVENTS elem = "6" >

    < SYS_DESCR > Cycle before expenses (rev): 549 DUAL-DEF < / SYS_DESCR >

    < BAL_IMPACTS elem = "0" >

    < QUANTITY > 1 < / QUANTITY >

    Plan < RATE_TAG > < / RATE_TAG >

    < AMOUNT > 490,18 < / AMOUNT >

    < IMPACT_TYPE > 1 < / IMPACT_TYPE >

    VAT < TAX_CODE > < / TAX_CODE >

    < / BAL_IMPACTS >

    < BAL_IMPACTS elem = "1" >

    < QUANTITY > 549 < / QUANTITY >

    Plan < RATE_TAG > < / RATE_TAG >

    < AMOUNT > - 490.18 < / AMOUNT >

    < IMPACT_TYPE > 32 < / IMPACT_TYPE >

    < TAX_CODE > VTSKY < / TAX_CODE >

    100% of < DISCOUNT_INFO > < / DISCOUNT_INFO >

    < / BAL_IMPACTS >

    < BAL_IMPACTS elem = "2" >

    < QUANTITY > 490,18 < / QUANTITY >

    Tax of < RATE_TAG > < / RATE_TAG >

    < AMOUNT > 58,82 < / AMOUNT >

    < IMPACT_TYPE > 4 < / IMPACT_TYPE >

    VAT < TAX_CODE > < / TAX_CODE >

    < / BAL_IMPACTS >

    < BAL_IMPACTS elem = "3" >

    < QUANTITY > - 490.18 < / QUANTITY >

    Tax of < RATE_TAG > < / RATE_TAG >

    < AMOUNT > - 58.82 < / AMOUNT >

    < IMPACT_TYPE > 4 < / IMPACT_TYPE >

    < TAX_CODE > VTSKY < / TAX_CODE >

    < / BAL_IMPACTS >

    < elem TOTAL = "608" >

    < AMOUNT > 0 < / AMOUNT >

    < / TOTAL >

    < CYCLE_START_T > 20/12/2015-00:00:00 < / CYCLE_START_T >

    < CYCLE_END_T > 20/01/2016 00:00:00 < / CYCLE_END_T >

    < START_T > 20/12/2015-00:00:00 < / START_T >

    < END_T > 20/12/2015-00:00:00 < / END_T >

    < AMOUNT_GROSS > 490,18 < / AMOUNT_GROSS >

    < AMOUNT_TAXED > 0 < / AMOUNT_TAXED >

    < / EVENTS >

    in my XML file, it apprear 2 < elem = 6 EVENTS > but you just have to remove the entire < elem = 6 EVENTS > with < SYS_DESC >.

    Thanks in advance.

    Your XML file is invalid because it is not an outside element.  In any case, after that...

    with Data (THE_XML) as)

    Select xmltype (')

    0063

    63937390517

    DATA

    20/11/2015-22:08

    20/11/2015-22:08

    0.89

    258

    103229

    VAT

    0.11

    4

    0.89

    VAT

    1

    1

    0.89

    Cycle advance costs (rev): DUAL-DEF 549

    1

    Plan

    490,18

    1

    VAT

    549

    Plan

    -490.18

    32

    VTSKY

    100% discount

    490,18

    Tax

    58,82

    4

    VAT

    -490.18

    Tax

    -58.82

    4

    VTSKY

    0

    20/12/2015-00:00:00

    20/01/2016 00:00:00

    20/12/2015-00:00:00

    20/12/2015-00:00:00

    490,18

    0

    ')

    of the double

    )

    Select deletexml (the_xml, "/ ROOT/EVENTS[@elem="6 "and SYS_DESCR]')

    from the data

    (As requested) RESULT

    0063

    63937390517

    DATA

    20/11/2015-22:08

    20/11/2015-22:08

    0.89

    258

    103229

    VAT

    0.11

    4

    0.89

    VAT

    1

    1

    0.89

  • Music Apple removes the songs &amp; ID Tags

    Dear community,

    I have a problem with Apple music and my library on my Mac and iPhone! Apple music will remove the songs and lyrics and identification labels (side etc.). With "delete", I mean the following:

    -delete the songs: next to the song the cloud is listed, even if the song has been downloaded.

    -removed ID tags: for example: I note all my songs, but unfortunately all the stars disappear.

    -remove the words: all added words are dissapeard.

    What can do and why - what happened?

    Bye,.

    Mike

    I don't know on the sides and others because I do not use music from Apple. You must realize that if the service finds there is a corresponding item in the iTunes Store for something you have on your Apple computer will use its own copy of the file which does not include your custom tags.  I think that the only way to work around this problem is to change the name and other identifying information about your tracks so Apple thinks it's something completely different and download your copy.  I don't know if this will include lyrics.

  • How to remove the history of tag list box in Windows Photo Gallery

    Photo Gallery maintains a list of every tag I used.  I don't have these old tags more and I would like to clear them from the zone drop-down list to the right of the screen, but I can't find an option delete by clicking right or any other way.  How can I do this?

    Hi sailorsteve,

    To clear the tag suggestions, follow the steps mentioned below:

    Important:- This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows:

    http://support.Microsoft.com/kb/322756

    1. close Windows Photo Gallery.

    2. go to start | Run | type regedit and press ENTER. (On Vista you will be prompted by the user account control dialog box if you have not logged as local administrator.)

    3. in the search for the Publisher of the registry at this location: HKEY_CURRENT_USERS\Software\Microsoft\Windows Photo Gallery\Library\PreviewPane\LabelAssignment\MRU

    4 in the pane, you should see the list of tags that appear in the auto-suggest list.  You remove the (s) you want.

    5. When you are finished, close the registry editor and open Photo Gallery.

    Note: Make this manual workaround solution does not remove the actual Tags of files or the database of the library.  So, even if you delete all the items in this list from this registry location, your actual tags remain intact.  Only, this clears the auto-suggest list.

    Reference:

    http://blogs.msdn.com/PIX/archive/2008/03/21/how-to-clear-tag-suggestions.aspx

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to remove the xml with indesign file attributes.

    Dear friends,

    I need to remove attributes xml ('ul' element), I try to underside of coding and joint screenshot also, but I made a mistake. I'm not that I lack the coding below.

    Screen Shot 2016-02-22 at 12.57.49 PM.png

    My coding in the below.

    var elements = app.activeDocument.xmlElements[0].xmlAttributes.item["@new_class"] = "list-style-type:none";
        alert(elements.length);
        delete elements["@new_class"];
    

    Please suggest friends,

    Thank you in advance,

    Hello

    Try this...

    var doc = app.activeDocument;
    
    removeAttributes(doc,'ul','style','list-style-type:none');
    
    function removeAttributes(source,element,attributename,attributevalue){
        for (var i = 0; i < source.xmlElements.length; i++){
                try{
                    for(j=0; j		   
  • How to remove the XML prologue in Oracle?

    Our system works as follows:

    1. place a piece of XML code in the database as a CLOB
    2 database converts this value to XMLTYPE (stored as a CLOB (you can skip this, Marco * {;-)))))
    3. a request then reads XML from the database and inserts it into another bit of XML
    4. the application continues his treatment based on this new composite XML.

    So far, the XML that is loaded into the database in step 1 (for various systems) has never contained a prologue. However, a new system came along and is now passing in a prologue. There are problems of application in step 3.

    Apart from trying to get the new system do not spend in the prologue, is there a way to remove it of in Oracle?

    I came up with two solutions are not elegant:

    1. use XMLTABLE to retrieve the main root node (which might be different, depending on the system sent in the data and could change)
    2 convert the prologue in a commentary, using REPLACE the product, before converting the CLOB in an XMLTYPE.

    If I was forced to use one of the following methods, I would go with 2, but I really, really hope that there is a better way to do it.

    Someone at - it any other suggestions, please?

    PS. We are currently on 10.2.0.4 and are about to move to 11.2.0.3, but the solution is to work on both versions, for more fun and excitement!

    It's error, the application gives: "error obtaining Exception of SAX for additional information: no processing instruction begins with"xml"" who says that the app dev is due to the presence of the prologue in the middle of xml, the app has build up.

    So, basically, the app just "glue" XML in the middle of the other regardless of the structure? What kind of design is?
    IMO, the application needs to be fixed, not the XML input.

    A lot about how to add the prologue, nothing on how to remove it!

    You can use the XMLQuery function to get the root element:

    SQL> create table tmp_xml3 of xmltype
      2  xmltype store as basicfile clob;
    
    Table created
    
    SQL> insert into tmp_xml3 values (xmltype(''));
    
    1 row inserted
    
    SQL> select * from tmp_xml3;
    
    SYS_NC_ROWINFO$
    --------------------------------------------------------------------------------
    
    
    SQL>
    SQL> select xmlquery('*' passing object_value returning content)
      2  from tmp_xml3;
    
    XMLQUERY('*'PASSINGOBJECT_VALU
    --------------------------------------------------------------------------------
    
     
    

    Published by: odie_63 on August 22, 2012 15:26

  • Remove the XML node

    Dear adobe experts,

    I have a requirement to remove a node in the XML interface of a form of adobe (not only by removing a subform in the form). It must be a deletion, an empty node does not work (I read this in another post).

    The XML structure looks like this:

    < ITEM >

    < DATA >

    < ROW_IID > 0 < / ROW_IID >

    < PARENT > 0 < / PARENT >

    < CHILD > 0 < / CHILD >

    < / DATA >

    < DATA >

    < ROW_IID > 1 < / ROW_IID >

    < PARENT > 0 < / PARENT >

    < CHILD > 0 < / CHILD >

    < / DATA >

    < / ITEM >

    I want to, for example, to remove the second node of data including the underlying elements: row_iid, parent & child. Already tried: xfa.record.nodes.remove (oRemoveNode); I got it from http://partners.adobe.com/public/developer/en/xml/Adobe_XML_Form_Object_Model_Reference.pd f and several messages in this forum, but I get the following message appears in the error console: remove failed. I know that the somexpression is correct.

    Here's the code I used to try to remove the node.

    var node_loc;

    var del_node;

    [node_loc = ' xfa.record.ELEMENT.DATA [1 '];

    del_node = xfa.resolveNode (node_loc);

    xfa.record.Nodes.Remove (del_node);

    Anyone know what I am doing wrong?

    Kind regards

    Niels

    Hi Steve,.

    I fixed it myself. I adjusted my code a little, so the node, including the elements is successfully deleted.

    Here is the way that I fixed it:

    var node_loc;

    var del_node;

    [node_loc = ' xfa.record.ELEMENT.DATA [1 '];

    del_node = xfa.resolveNode (node_loc);

    xfa.record.ELEMENT.nodes.remove (del_node);

    Thanks for the help!

    Kind regards

    Niels

  • Remove the XML attribute

    Hello

    I export xml data into our database files. Since the xsd has changed it can be exported directly to another db to a third-party tool and I (among others) remove an attribute of an element
    CREATE TABLE xml_test(
          message XMLTYPE
          )
    /
    INSERT INTO xml_test
    VALUES (q'[<?xml version="1.0" encoding="ISO-8859-1"?>
    <ZusyMeldung xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns="http://www.zusy.de/2002/XMLSchema" 
    xsi:schemaLocation="http://www.zusy.de/2002/XMLSchema ZusyAZ01.xsd">
      <TransferHeader xsi:nil="true"/>
      <Daten>
        A lot more elements
      </Daten>
    </ZusyMeldung>]')
    /
    COMMIT;
    < TransferHeader xsi: Nil = 'true' / > should become < TransferHeader / >.

    I want to write files directly with the script next and tried to use updateXML in my SELECTION, but somehow I don't understand well.
    DECLARE
        CURSOR cur_out IS
            SELECT  message
            FROM    xml_test;
    BEGIN
        FOR r_out IN cur_out LOOP
            dbms_xslprocessor.clob2file (
                 r_out.message
                ,'DIR_XMLOUT'
                ,'out_name.xml'
                ,0
                );
        END LOOP;
    END;
    /
    Concerning
    Marcus

    Hi Marcus,

    Given that you want to remove, try deleteXML :

    select xmlserialize(document
             deletexml(
               message
             , '/ZusyMeldung/TransferHeader/@xsi:nil'
             , 'xmlns="http://www.zusy.de/2002/XMLSchema", xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
             )
           )
    from xml_test ;
    

    Note that the functions of XML DML Oracle (updateXML, deleteXML etc.) are not recommended in 11.2.0.3 for the update of XQuery:

    select xmlquery(
             'declare default element namespace "http://www.zusy.de/2002/XMLSchema"; (: :)
              copy $d := .
              modify ( delete node $d/ZusyMeldung/TransferHeader/@xsi:nil )
              return $d'
            passing message
            returning content
           )
    from xml_test ;
    
  • remove the xml to an xml file block

    I have 5000 xml files to update. Is there any code that can remove a block unique xml to a find of file.please xml example below. I need to delete the first part of retail. Model is < qty_ordered > 0.0000 < / qty_ordered >
    < XOrderDtl >
    < element > 300037179 < / item >
    < location > 20024 < / location >
    < unit_cost > 71.5600 < / unit_cost >
    < ref_item / >
    < origin_country_id / >
    < supp_pack_size / >
    < qty_ordered > 0.0000 < / qty_ordered >
    < location_type > W < / location_type >
    < / XOrderDtl >
    < XOrderDtl >
    < element > 300026942 < / item >
    < location > 20024 < / location >
    < unit_cost > 792.4400 < / unit_cost >
    < ref_item / >
    < origin_country_id / >
    < supp_pack_size / >
    < qty_ordered > 41.0000 < / qty_ordered >
    < location_type > W < / location_type >
    < / XOrderDtl >
    < orig_ind > 2 < / orig_ind >
    < edi_po_ind > N < / edi_po_ind >
    < pre_mark_ind > N < / pre_mark_ind >
    < user_id > 01501K < / user_id >
    < svu_rms_po_no / >
    < / XOrderDesc >

    It seems that you store your XML file in a CLOB data type. If so, that is why you get the error you see. To adjust a sample of odie_63 to assume a clob data type, it would look like

    WITH t AS (
    SELECT
    '
    
    300037179
    20024
    71.5600
    
    
    
    0.0000
    W
    
    
    300026942
    20024
    792.4400
    
    
    
    41.0000
    W
    
    2
    N
    N
    01501K
    
    '
     doc FROM dual
    )
    SELECT deletexml(XMLTYPE(doc), '/XOrderDesc/XOrderDtl[1]').getClobVal()
    FROM t;
    

    so, you will need to change your deleteXML accordingly. The XMLType converts a string/clob to a XMLType data type, which is expecting the deleteXML. The. getClobVal() transforms an XMLType in a Clob. There is also a. getStringVal() and. getNumVal() (or too lazy to look for number)

    Tip: In upcoming posts, make sure that the data types are clear/provided, and the four-digit version # Oracle, you are working with.

  • How to remove the option to tag keyword 'Persons' of all the keywords in a hierarchy?

    Somehow, I scored my keywords 'Places' by mistake (I have about 100 of them under the keyword Places) with the keyword of the person checked - I probably used "Convert keywords keywords person" by mistake. Now, I want to cancel it. , I want the function reverse ' convert keywords to no keywords.

    Y at - it an easy way to do this:

    1. Modify each keyword under My Places keyword and uncheck the person OR
    2. Export all keywords, to publishing and importation to hide in

    Thank you

    Unfortunately, there is no supported way to uncheck the attribute of the person, other than to change the keywords one by one.  With the help of metadata > keyword export and import keywords will usually not what you want, since the import keywords always creates new keywords with no picture assigned to them.  (And in any case, the exported text file does not have many of the attributes keyword, including the attribute of the person).

    Over the years, many people complained about the lack of batch editing of keywords in LR, but Adobe has added none of the options.  And it is not possible for a plugin developer provide functionality, because LR does not provide the necessary hooks.   So please add your vote and notice to this feature in the Adobe official feedback forum request: Lightroom: better management of keywords | Community customer Photoshop family

  • Find, edit, and remove the tag XML (Adobe InDesign Server CS5)

    Hi all

    I work with Indesign CS5 server and JavaScript, although having some difficulties to come with a solution to a problem...

    I have to build a script JS (called through SOAP) that will allow me to search for an XML tag in an InDesign file.

    After you find the XML tag, if the variable 'action' is set to remove, it should remove the tag and its content.

    If the action is set to edit, he should change the content of the tag to the user-defined content.

    The main warning is that the XML tag is variable, as is the XML of the InDesign file structure.

    Here's what I have in mind, in pseudocode:

    function findXMLTag (tag, action) {}

    app.searchForTag (tag);

    If {(tagIsFound)

    If (action == 'delete') {}

    tag. Delete;

    } Else if (action == 'edit') {}

    tag.contents = "update content";

    }

    }

    }

    Any help would be greatly appreciated!

    Thank you

    Ben Kay

    'searchForTag' can be implemented as a recursive function.

    Recursion is defined as follows: I thought: "I'll just get this forum for"recursion"." The first post I found was one of my own, which suggests that the poster should search the forum for "recursion".

    Here is an example: find the XML element []

    And another: remove the xml using JS [CS3] element (read carefully, as the OP is stuck on how to remove an item and continue successfully)

    And the other using XML rules - which I am quite familiar with, but may work for you: changing values in XML tags

  • How to remove the label of xml data in sql

    with a as
    (select '<?xml version="1.0"?>
    <ROWSET>
      <DEPT>
        <DEPTNO>10</DEPTNO>
        <DNAME>ACCOUNTING</DNAME>
        <LOC>NEW YORK</LOC>
        <EMP_LIST>
          <EMP_ROW>
            <EMPNO>7782</EMPNO>
            <ENAME>CLARK</ENAME>
            <JOB>MANAGER</JOB>
            <MGR>7839</MGR>
            <HIREDATE>09-JUN-1981 00:00:00</HIREDATE>
            <SAL>2450</SAL>
          </EMP_ROW>
        </EMP_LIST>
      </DEPT>
    </ROWSET>' from dual)
    select * from a;
    


    I want the output after removing the same < HIREDATE > tag

    <?xml version="1.0"?>
    <ROWSET>
      <DEPT>
        <DEPTNO>10</DEPTNO>
        <DNAME>ACCOUNTING</DNAME>
        <LOC>NEW YORK</LOC>
        <EMP_LIST>
          <EMP_ROW>
            <EMPNO>7782</EMPNO>
            <ENAME>CLARK</ENAME>
            <JOB>MANAGER</JOB>
            <MGR>7839</MGR>       
            <SAL>2450</SAL>
          </EMP_ROW>
        </EMP_LIST>
      </DEPT>
    </ROWSET>
    

    Please help me

    SQL> with a as (
      2  select '
      3  
      4    
      5      10
      6      ACCOUNTING
      7      NEW YORK
      8      
      9        
     10          7782
     11          CLARK
     12          MANAGER
     13          7839
     14          09-JUN-1981 00:00:00
     15          2450
     16        
     17      
     18    
     19  ' xmlcontent
     20  from dual
     21  )
     22  select xmlserialize(document
     23           xmlquery(
     24             'copy $d := .
     25              modify delete node $d/ROWSET/DEPT/EMP_LIST/EMP_ROW/HIREDATE
     26              return $d'
     27             passing xmlparse(document a.xmlcontent)
     28             returning content
     29           )
     30           indent
     31         ) as xmlcontent
     32  from a ;
    
    XMLCONTENT
    --------------------------------------------------------------------------------
    
    
      
        10
        ACCOUNTING
        NEW YORK
        
          
            7782
            CLARK
            MANAGER
            7839
            2450
          
        
      
    
    
  • Is it possible to remove the &lt; inbuf &gt; and &lt; outbuf &gt; tags of a Tuxedo Service exposed salt?

    Hi all

    Currently I have to expose my tuxedo Service in a WSDL file pre-created (with all the field names and namespaces already defined). Search the web and the examples in the tuxedo and salt package, I was able to configure most of the fields but still can't remove the inbuf wrapper tag.

    Y at - it no setting or configuration that I can use to remove this tag, so I can expose the WSDL generated salt as I wish? Or is it an obligation for each service in Tuxedo to have his entry exposed in this way using salt?

    If you need what anyone else in order to provide an answer to this, please let me know. I am also open to any suggestions.

    Thanks in advance,

    brunno Attorre

    Hi Brunno,

    You must at the least hilly patch RP002 for salt 12 c for this to work.

    Kind regards

    Todd little

    Chief Architect of Oracle Tuxedo

  • Ddeleting the second tag line in the XML output

    Hi all

    When I run the following query:

    Select dbms_xmlgen.getxml ("select wo.work_order_no,
    cursor (select regacc.work_order_no, regacc.work_order_task_no, regacc.regulatory_account_no
    of sa_work_orde_reg regacc
    where regacc.work_order_no = wo.work_order_no) Reg_Test
    of sa_work_order wo') xml
    Double;

    I get the following result:

    <? XML version = "1.0"? >
    rowset <>
    < ROW >
    < WORK_ORDER_NO > 1000170 < / WORK_ORDER_NO >
    < REG_TEST >
    < REG_TEST_ROW >
    < WORK_ORDER_NO > 1000170 < / WORK_ORDER_NO >
    < WORK_ORDER_TASK_NO > 01 < / WORK_ORDER_TASK_NO >
    < REGULATORY_ACCOUNT_NO > 100.2.1 < / REGULATORY_ACCOUNT_NO >
    < / REG_TEST_ROW >
    < / REG_TEST >
    < / ROW >
    < / LINES >

    Now what I need, is remove the second line tag < REG_TEST_ROW >. Y at - it a function or other ways to handle this. I'll use this query in the API of DBMS_XMLGEN.newcontext inside my procedure.

    Thank you for your help in advance.

    Published by: user33333 on June 29, 2010 01:11

    Published by: user33333 on June 29, 2010 01:19

    Hello

    Here are a few options...

    (1) using a scalar subquery rather than the CURSOR constructor (as long as it's supposed to always return a single line):

    SELECT dbms_xmlgen.getxml(
    'SELECT wo.work_order_no,
            ( SELECT XMLForest( regacc.work_order_no,
                                regacc.work_order_task_no,
                                regacc.regulatory_account_no )
              FROM sa_work_orde_reg regacc
              WHERE regacc.work_order_no = wo.work_order_no ) reg_test
    FROM sa_work_order wo'
    ) xml
    FROM dual;
    

    (2) incorporating a XSL transformation (Yes, still!) to copy all nodes except REG_TEST_ROW:

    
    
    
     
      
     
    
    
    
    
    
    

    (3) with the help of a simple replacement out serialized.

  • Remove the attribute in xml

    Hello

    How delete/remove the xml attributes.

    the option "delete."

    for example:

    with:

    var xml =


         
             
                  John Doe
             

             


                  601 Townsend St.
             

         
         
         
             
                  Jane Q. Public
             

         

         
              Information Technology
         

         

    delete xml.firstChild.firstChild.attributes ["id"]

Maybe you are looking for

  • How can I use a flash drive with my ipad pro

    I want to buy an ipad pro for school, but I will need an adapter to plug in my flash drive. I was wondering if I would be able to buy an adapter that I can use for a flash drive.

  • Satellite C850D-11 q - keyboard and the Touchpad does not

    The laptop is a little more than a year and worked ok until recently. Symptoms were the keyboard and the touchpad does not not on page 8 of windows logon. Pressing power to put the laptop into sleep and pressing still often got their work. He progres

  • Updated BIOS (Insyde H20) BACK - Satellite A300-24 X

    Hello I bought the laptop Toshiba Satellite A300 - 24 X WITHOUT an operating system preinstalled. I'm using Linux and I want to update my BIOS to version 1.8 and 1.9 through a utility BACK/FreeDOS. The main problem is that the BIOS flash utility runs

  • Windows update code error 00000646

    Update Windows repeatedly fails with the error message - 00000646

  • AE1 Canon lenses

    I have old Canon AE1 lenses. Do you sell the bodysuits that match my lenses and if not there are adapters that can be used?