Removing ?xml version="1.0"? from the result

Hi Friends
How do we remove <?xml version="1.0"?> from the result if we have ran two query in one resultset
e.g
qryCtx := DBMS_XMLGEN.newContext('select ename, job from emp where empno > 7900');
DBMS_XMLGEN.setRowSetTag(qryCtx,'employeedata');
DBMS_XMLGEN.setRowTag(qryCtx,'emp');
result := DBMS_XMLGEN.getXML(qryCtx);
insert into temp_clob_tab values(result);
DBMS_XMLGEN.closeContext(qryCtx);
qryCtx := DBMS_XMLGEN.newContext('select * from dept');
DBMS_XMLGEN.setRowSetTag(qryCtx,'departments');
DBMS_XMLGEN.setRowTag(qryCtx,'dept');
result := DBMS_XMLGEN.getXML(qryCtx);
insert into temp_clob_tab values(result);
DBMS_XMLGEN.closeContext(qryCtx);
RESULT
<?xml version="1.0"?>
<employeedata>
<emp>
<ENAME>FORD</ENAME>
<JOB>ANALYST</JOB>
</emp>
<emp>
<ENAME>MILLER</ENAME>
<JOB>CLERK</JOB>
</emp>
</employeedata>
<?xml version="1.0"?>
<departments>
<dept>
<DEPTNO>10</DEPTNO>
<DNAME>ACCOUNTING</DNAME>
<LOC>NEW YORK</LOC>
</dept>
<dept>
<DEPTNO>20</DEPTNO>
<DNAME>RESEARCH</DNAME>
<LOC>DALLAS</L[i]Long postings are being truncated to ~1 kB at this time.

Why do you want to get rid of the XML header ? If you want to concatenate the two values to produce a single XML document, I would recommend using XMLConcat or XMLAgg SQL functions.
- Ravi

Similar Messages

  • The preview of my brush is different from the results... Hard to explain (Pictures to help)

    Out of nowhere, my brushes started acting up. The preview of my brush is different from the results. Im attaching a picture of my cursor preferences as well as an example of whats going on!
    Please help me out!

    Which version of mac os x and version of photoshop are you using?
    See if going to System Preferences>Accessibility>Display and the setting the Cursor Size to Normal resolves the issue.

  • Remove an oracle home entry from the central repository

    Does anyone know how to remove an oracle home entry from the central repository (inventory.xml file), after the oracle home in question has been deleted. It is left behind and I want to clean it up.
    thanks

    I went to the link you have posted and it did not help me.
    I cannot get rid of my Oracle Home directory. When I attempt to delete this folder, I
    get an error message:
    oci.dll ...is write protected or in use..
    So I deleted this oci.dll file. Then I rebooted and tried to delete the OraHome directory (folder)
    again, and I get the SAME error!!
    Thanks for any advice.

  • I am unable to open raw files from my Canon T1i in Adobe Camera Raw of my version CS3 of Photoshop.  I have tried to update my ACR by downloading version 4.6 from the Adobe website but I am still unable to open raw files, just JPEG.  Is there a way to use

    I am unable to open raw files taken on my Canon Rebel T1i in my version of Photoshop CS3.  When I import raw files into Bridge they come up as patches with CR2 on them and when clicked on, a notice comes up stating that Photoshop does not recognize these files.  I tried to update my Adobe Camera Raw by downloading version 4.6 from the Adobe Website, but when I clicked on the plus-in, I got another message that Photoshop does not recognize this file.  I spoke with a representative from Canon who said that I could not update CS3 and that I should subscribe to the Cloud.  I would prefer to use my CS3, if possible.  Can anyone advise me what to do?

    The T1i was first supported by Camera Raw 5.4 which is only compatible with CS4 and later
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications
    Some options:
    Upgrade to CS6
    Join the Cloud
    Download the free Adobe DNG converter, convert all T1i Raw files to DNGs then edit the DNGs in CS3
    Camera raw, DNG | Adobe Photoshop CC

  • HT204266 How can I remove my credit card information from the app store?

    How can I remove my credit card information from the app store?  I would like to have an account without the credit card information.
    I would like to put in my credit card only when I am ready to purchase. 

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your phone then tap on your id in Settings > iTunes & App Store and tap 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918
    If you don't get the 'none' option on the payment details screen then do you owe iTunes anything or have any pre-orders/subscriptions due : http://support.apple.com/kb/TS5366 ?

  • I would like to remove a rather large stye from the eye area of a child in a photo. [was:?]

    I would like to remove a rather large stye from the eye area of a child in a photo...can someone point me in the right direction please
    Cheers

          hey John...hows that?

  • How do I remove Canon " My Image Garden" from the desktop when turning on my computer ?

    How do I remove Canon " My Image Garden" from the desktop when turning on my computer ?  I have the icon but the program starts up and I have to delete it manually  from the desktop to clear my screen for other work...

    Are you using a Windows or a Mac? What you're seeing (the backwards L shaped menu) is probably the Canon Quick Menu. If you have a Mac you can go into your applications, select Canon Utilities, then drag Canon Quick menu to the trash and empty trash can. On Windows you'd go to the control panel, select Programs and Features (or Uninstall Program/Add or Remove Program) and uninstall the Canon Quick Menu. Not required for all the normal functions of the printer. You can do the same thing for My Image Garden. Also not required.

  • Why did Apple remove many of my songs from the cloud?

    Why did Apple remove many of my songs from the cloud?

    Maybe they don't have the same taste in music as you
    Apple don't make or 'own' songs - other companies allow Apple to sell them. Sometimes these rights owners remove the songs from the store. Apple can't do much about that. You should make backups of any purchases, since Apple cannot guarantee they will be available in future.

  • Problem of running the jump query from the result line

    Dear expert,
    I have a problem when running a jump query from the result line. Apparently, the values of the caracteristics haven't been sent to the jump target.  However, the configuration in RSBBS seems to be good as the jump works well from the other lines.
    Does anyone have some ideas on that?
    Thanks in advance!

    Hi,
    If you are supposed to bring across characteristic values to your target, then you will not be able to jump from the result line. The configuration expects that the values of the characteristic marked as being used in the jump are filled with unique values. When you use the result line as a source for your jump, the values in the result line will most likely be based on the sum of multiple characteristic values.
    Hth,
    -Jacob

  • Can you tell the version of iPad from the model #?

    Can you tell the version of iPad from the model #?  If so, what is model MD329LL ?

    Identify iPad Models...
    http://support.apple.com/kb/HT5452

  • How can I remove apps no longer wanted from the cloud

    How can I remove apps no longer wanted from the cloud? they are not used any more and taking up space.

    Welcome to the Apple community Mickeymom.
    The apps are not actually in your iCloud storage, they are links to the apps in the App Store. What you are seeing is your purchase history and as such cannot be deleted.
    You can however hide your purchases, which you can do from the QuickLinks > Purchased option from the main page in the iTunes Store on your computer.

  • Have lightroom 5 hard copy and just got a mac.  downloaded the trial version of LR5 from the web, but it will not take my serial number.  gives me an invalid serial number error

    i have had lightroom 5 for some time now, and have used on my pc.  I just got a mac (no disc drive) so I downloaded the trial version of LR5 from the adobe site.  Once installed, i tried to key in my serial number. 
    I get an invalid serial number error.
    has anyone ran into this before?

    Serial number and activation support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • HT4906 I PURCHASED THE LATEST VERSION OF IPHOTO FROM THE MAC APP STORE, AND WOULD LIKE IT TO WORK ON THREE OF OUR COMPUTER'S.  HOW CAN I DO THAT.

    If I purchase the latest version of iphoto from the Mac app store on my Macbook Pro, how do I get it to run on my two other Mac computers, which are desk top computer's?

    Sign into the App Store on each computer that does not have iPhoto. Use the same Apple ID used to purchase it. Locate iPhoto in your Purchased list and click on the active Install link.

  • [svn:fx-3.x] 11959: Removing rpc-encoded id attributes from the referent when used as a multiRef  (i.e.

    Revision: 11959
    Revision: 11959
    Author:   [email protected]
    Date:     2009-11-18 14:16:08 -0800 (Wed, 18 Nov 2009)
    Log Message:
    Removing rpc-encoded id attributes from the referent when used as a multiRef (i.e. referenced via an href attribute). These attributes should not be included in generic deserialization of types to ActionScript (e.g. when deserializing xsd:anyType).
    QE notes: Yes, this should fix the regression. We'll still need a further change to remove attributes in SOAP and XSI namespaces.
    Doc notes: N/A
    Bugs: SDK-23140
    Reviewer: Svetlin
    Tests run: Checkintests, bug test case
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23140
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/rpc/soap/SOAPDecoder.as

    any chance you are using atheros wifi?

  • Getting error when I try to remove eum secondary email address from the Mailbox from Exchange 2013 server

    Getting error when I try to remove eum secondary email address from the Mailbox from Exchange 2013 server. The command works if you issue directly from the server exchange shell.
    I open the remote power shell to the exchange server 2013.
    Issue the following commands and getting the following error.
    $mailbox = Get-Mailbox -Identity testuser$mailbox.EmailAddresses -= "eum:50004;phone-context=telExt5digits.lync5.com"Then getting the following error:Method invocation failed because [System.Collections.ArrayList] doesn't contain a method named 'op_Subtraction'.
    At line:1 char:27
    + $mailbox.EmailAddresses -= <<<<  "eum:50004;phone-context=telExt5digits.lync5.com"
        + CategoryInfo          : InvalidOperation: (op_Subtraction:String) [], RuntimeException
        + FullyQualifiedErrorId : MethodNotFoundHelp!

    Now for an answer - your remote session doesn't have the same object you have on the server itself.  Notice it says this is an array list, not a ProxyAddressCollection.  If you need to work around this, you'll need to massage the addresses another
    way that the system will accept.  I'd try the following:
    $NewAddresses = $mailboxEmailAddresses | ? { $_ -notlike "eum:50004;phone-context=telExt5digits.lync5.com" }
    See what you get in the $NewAddresses variable when you do this.

Maybe you are looking for

  • Oracle 9.2.0.3.0 patch set for windows - questions

    Hi! I have for that some questions. I have oracle 9.2.0.1.0 on a windows 2003 server running with one local database - no real apllication cluster. I don't understand which instructions I have to make for oracle upgrade? Must I also make the 3. instr

  • F110 - Exclude / Include vendors based on payment Amount in payment run

    I have a requirement to make a vendor to appear in the exception list if the payment amount for the vendor (invoices are grouped together for payment) exceeds a certain limit. Can anyone explain me how can achieve this? Eg: Vendor A has 2 invoices of

  • I am unable to install adobe flash player in my samsung galaxy tab 2

    i am unable to install adobe flash player in my samsung galaxy tab 2 p3100 please give me the reason and solution, kindly contact me at [removed] i am an Indian User

  • CASE..WHEN &a THEN decode(instr(colA,'-') 1,colA,......

    Using CASE within a function I wish to apply a second level of criteria within the CASE statement, something along the lines of the following: CASE upper(option_in) WHEN 'P' THEN decode(instr(value_in,'-')>1,value_in,plan_b) WHEN ... Looks nifty but

  • ProC Compiler & SQL Developer

    Hi, I am new to proc and oracle. I have installed 10g Express edition, but it does not have proc compiler. Currently I am downloading SQL Developer, does it come with a proc compiler? Is there anywhere I can get a proc compiler? Really appreciate the