To add the details of the namespace in an XmlDocument

Hi friends,

I need to add the details of the namespace in an XML document

Details of Namespace are

"

<? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >

< DeriveCoverageRequest xmlns = "urn: XYZ:ccw:config:common: data" xmlns:ns1 = "urn: XYZ:ccw:config:msa: data" >

"

the XML data is derived from a function and the code how it ends

"

...................

l_xmltype: = dbms_xmldom.getXmlType (l_domdoc);

dbms_xmldom.freeDocument (l_domdoc);

dbms_output.put_line (l_xmltype.getClobVal);

"

the value of l_xmltype give the xml data

as

< Majorline >

..........................data .. data

..........................

< Majorline >

I want to concatenate

<? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >

< DeriveCoverageRequest xmlns = "urn: XYZ:ccw:config:common: data" xmlns:ns1 = "urn: XYZ:ccw:config:msa: data" > with l_xmltype then the out put of l_xmltype would be


<? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >

< DeriveCoverageRequest xmlns = "urn: XYZ:ccw:config:common: data" xmlns:ns1 = "urn: XYZ:ccw:config:msa: data" >

< Majorline >

..........................data .. data

..........................

< Majorline >

So why not use the DOM all along and add the missing root node in the service as well?

If this approach is to give the output in the required format.

All can do the DOM is also possible using the SQL/XML functions, much less tedious way.

Anyway... This should give the expected results:

select '' ||
       xmlserialize(document
         xmlelement("DeriveCoverageRequest"
         , xmlattributes(
             'urn:XYZ:ccw:config:common:data' as "xmlns"
           , 'urn:XYZ:ccw:config:msa:data' as "xmlns:ns1"
           )
         , l_xmltype
         )
         as clob
       )
from dual;

Your DB character occupies AL32UTF8?

If so, no problem encoding to hardcode a "UTF-8" don't like this.

Otherwise, it is false since the actual coding of the data will not reflect in the XML prolog.

Tags: Database

Similar Questions

  • Store changed from the United Kingdom to China using my old zip code. Now cannot get back. Payment type is NONE, but get requests by charging to add card details.

    Store changed from the United Kingdom to China the other day using my old zip code. Now can not return to the United Kingdom. Payment type is NONE, but get requests in billing add card details that they are not everything. Postal code is changed back to UK. Phone is iOS 4 s 9.2.1. Any ideas how to get back?

    Hi Sandyback,

    Thank you for your participation in the communities of Support from Apple.

    I see that you have changed the country associated with your Apple (iTunes Store account) ID, and now ask you to provide a method of payment. This happens when changing the country on an existing Apple ID, according to why I can't select None when I change my Apple ID payment information?

    If you have changed your country or region

    When you change the country or the region of an Apple ID, you must provide a payment method and update your billing options. If you want to delete your payment method after you change the country or region, you can change your payment information to none.

    You will not be able to see or select the no payment option for one of these reasons. If you don't want to use a credit card, you can use another form of payment, for example, a gift card.

    Sincerely.

  • Add the account mail on iMac

    I am trying to add a new e-mail account to mail on my iMac (OS X). It's on my own domain, so I originally choose "add another Mail account" and then add details of base (name, address, password), but display "manually add the account" or not won't give me the option of 'Create', as indicated in the instructions but just told me that it cannot validate the account.

    All thoughts

    After you have filled the 1st screen, hold down the option/ALT key while clicking on continue. Fill in the required information, then click on continue until all the screens are filled.

  • Auto Add the senderdeails in the words of a new email

    I read that it is possible to automatically add some details to the sender in the words of a new email.
    Can you help me?

    https://support.Mozilla.org/en-us/KB/signatures

  • flatten channel adds the length of the string

    Hi all

    I flatten a cluster chain help to flatten to string.vi. The cluster contains strings and arrays. The flattened string contains the length of the string that is appended to the string.

    So if I have a cluster with only 1 string and a value = "LabVIEW". the flattened string would be "0007LabVIEW". Flatten channel vi has a Boolean entry "add string or array of size? even if I set the Boolean value false, it always adds the length of the string. Is this a bug?

    I think that if you read the detailed help to flatten it to string function you will see this is not a bug.  That boolean applies only to top-level data, once put you something in a cluster or array, the Paris are open.

  • How to add the phase parameter to array of waveform in the DaQmx continuous output example?

    Hi all

    I'm quite beginning to Labview. I just wanted to know how can I add stage information for the module of waveform existing as shown in the example of output Voltage-Continuous DaQmx.

    SEEE attached, I thought that the "output" is actually a built-in control, is there anyway I can add the phase as an additional parameter which?

    Thanks in advance for any help.

    Eric

    If you press ctrl + H, the context help window opens, and you can hover over the generating function VI to see its inputs/outputs, but also to navigate to the detailed help. As you can see from this screenshot, there is an exit for the phase which is separated from the output waveform.

  • How to add the Arabic language in Windows XP?

    I have Windows XP Professional Version 2002, service Pack 3.  I have this operating system in English only.  Now, I would like to add Arabic language.  How can I do?

    Hello

    ·        You want to change the display language on the system or the keyboard layout?

    ·        Have you installed on the system of the Arabic language?

    Arabic is available only for some customers. If you have the Arabic language, installed on the system, and then follow method 1 below.

     

    Method 1:

    That Arabic as the display language, you must select this option when you install Windows XP on the system. Once you have this language pack, you can also change the keyboard interface.

    If you have the language Arabic, installed on the system, follow the steps mentioned below.

    a. Click Start and then click Control Panel.

    b. double-click regional and Language Options.

    c. click on the languages tab, click details and then click Add.

    d. under input language, add the language that you want to use.

    e. under Configuration keyboard/IME, click the keyboard layout that you want, and then click OK.

    Click on the link below.

    List of languages supported in Windows 2000, Windows XP and Windows Server 2003

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

    If you have no language Arabic, installed on the system, then you can get a Windows XP MUI pack, if you ask on a new computer from the original manufacturer

    User Interface (MUI) packs for Windows XP Multilingual, offering fully translated versions of Windows in 24 languages, are only available for download or for sale to companies that are part of a volume license program or who have select and company agreements. I suggest you to take a look at the article mentioned below.

    http://Windows.Microsoft.com/en-us/Windows/downloads/languages-XP

    In addition, I suggest you to check if the language pack is available on the link mentioned below (by sorting the location).

    http://www.Microsoft.com/unlimitedpotential/programs/LLP.mspx

    I suggest that you try Windows 7 Ultimate or enterprise, where you can easily download the language packs through Windows updates. Take a look at the links below.

    http://Windows.Microsoft.com/Windows-7

    Language packs

    http://Windows.Microsoft.com/en-us/Windows7/products/features/language-packs

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • My MMC crashes when you try to add the Certificates snap-in

    My MMC crashes when you try to add the Certificates snap-in

    Error: Microsoft Management Console has encountered a problem and needs to close.

    When to see the details, it shows a mfc42u.dll error.

    Hey Sankar,

    Try Mircosoft Fixit: http://support.microsoft.com/gp/slow_windows_performance

    You will need to authenticate Windows.

  • How can I add the weather icon to the taskbar to be next to the time?

    Try as I might, I can't figure this out.  I would like to add the weather icon to the taskbar.  I want it to be next to the time, so it is always displayed.  How can I do this?  I also want to remove some of the icons that appear in the part of the notification of the taskbar.  Yet once, I can't do it.

    To add items to the taskbar in Windows XP, do one click right, choose Properties, select "Show quick launch", then OK. Now you can add existing shortcuts to the quick launch area (which is pretty much a location allows you to customize your own shortcuts), or you can right click on the quick launch are to open its 'file', then create new shortcuts to here (right click-> new-> shortcut).

    To remove the part of the taskbar notification icons: If you are indeed referring to the notification area near the clock, try right-clicking on the icon and look for an option to delete/remove/disable. Not all icons will have such an option. Additional details on the notification in Windows XP bar can be found here. If you are actually referring to quick launch (next), and then activate it as I've described in the paragraph above, then you should be able with the right button and then remove them.

  • Add the data in a field of multiple selection?

    Just got got off the phone with the support of Eloqua ask about the possibility of adding data in a field of multiple selection over time. Apparently, it's possible through mailings of form, but no list will be mailed.  Wouldn't be great if during a download list, you had the ability to add data from a field in your file .csv for existing values in this area in Eloqua.  Here's a use case for this scenario... in our society of industry can be part of multiple market segments.  Depending on the event, a person can feel they are part of the market segment 'Radar', but another event specializing in Sonar... they indicate that they are part of the market segment "Sonar", both being true.  There is currently no easy way to enter these data in Eloqua over time as part of the downloads from the list.  Based on the scenario above, the existing value is 'Radar', but if "Sonar" is the value of the field for the next download it replaces the value of 'Radar '.  Ideally, we would be able to capture the two values.

    I said that if there is enough interest in this idea, Eloqua would consider developing a new option for downloads from the list add vs crush.  I hope others can find a use case for this idea.

    Hi Tina,

    I know it's a bit old but I had a simular problem on adding values to a multi select.  Here's how I approached it.

    1. Add a text based contact field Eloqua to transfer your csv values.  Let's call it "MultiSelect download Value" for this example.

    2. Add Eloqua add values to a multiselect contact field.  What we'll call "MultiSelect Final.

    3. create a program that will add the download list.

    4. in the program, create a step to update Contact data

    . in the update rule, update "Definitive MultiSelect' field, Append the value in the field value, value will be hardcoded, check use a delimiter": ", marks the conditional rule the field" value to download MultiSelect "equals the value hard coded or one that you would like the field to be.

    b. create all update settings you need for your data.

    I approached this way because our downloads from the list should be add the data over time.  The field ' value to download MultiSelect ' allows it to be overwritten on each download.

    Let me know if you want more details.

    Thank you

    Blake

  • Add the soap header for the data to the web service control

    Hello

    I use jdeveloper 11.1.2.4, I have to call soap webservice jet data control, what I I create the control of data using WSDL, but when run the SOAP header does not appear in call xml, so I create java code extends SOAPProvider and supplier of the set to the data control to the custom class as below:

    public class CustomSOAProvider extends SOAPProvider {
        public CustomSOAProvider() {
            super();
        }
    
    
        public void handleRequest(SOAPMessage soapMessage) {
            super.handleRequest(soapMessage);
        }
    
        public void handleResponse(SOAPMessage soapMessage) throws AdapterException {
            super.handleResponse(soapMessage);
        }
    }
    

    I need to add the header shot

       <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
          <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
             <wsse:UsernameToken wsu:Id="UsernameToken-XXXX" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                <wsse:Username>XXXX</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXX</wsse:Password>
             </wsse:UsernameToken>
          </wsse:Security>
       </soap:Header>
    

    Any suggestion

    Hani,

    Please check out the blog of Frank will give you the details on the handling of the https://blogs.oracle.com/jdevotnharvest/entry/how_to_access_the_ws_soap_message_using_ws_dc SOAP header

    K

  • How to add the action button for each column in the interactive report

    Hi all

    I'm new in APEX, so pls forgive my question, if it's simple, but I am struggling with this problem for days now. I have interactive report and you want to add button in each row. What I want to do with this button is the following:

    1. to execute some stored procedure in need of that particular line item values

    2. returns a (id)

    3. go in another page in the application by passing the value out of the procedure (id).

    and I'm not find the way to do it. I tried now means:

    1. If I add the link of the column, so I can refer to the value of the current row, I don't know how to call the stored procedure and perform actions of rest I need

    2. If I add the button to the region, I do not know how to reference the values in column of a particular line of the interactive report...

    and I'm stuck...

    I just forms and global report and probably still think the "wrong" way .

    Any help would be appreciated!

    Thank you!!!


    user3253917 wrote:

    Please update your forum profile with a real handle instead of 'user3253917 '.

    I request of the company: there is a customer who always orders the same standard product orders (always order the same products, fair amount is different). I want to make it simple for the user: instead of retyping the command (master and few records details every time yet) I want to copy selected command (copy of the master record and record details) so that the user will only change date order (in master record) and amount fields in record details).

    So, in order to give him:

    1. the user must be able to choose the order in which I would copy (at page 4), select it,

    2. I need to make PL/SQL procedure to insert the new master record (order) and a few record details (order_items) (copy of the order/order_items chosen in step 1)

    3. navigate the user to page 29, where the master account at stage 2 insterted appears, so that the user can change the date and quantities.

    Any solution will be highly appreciated! Thank you very much!!!

    In simple terms:

    1. Add a link to column "Command copies" in the report on page 4, which sets the COPY request and passes the order ID on page 29.
    2. On page 29, create a process before header, sequenced to be the first process executed and conditional on REQUEST be EXEMPLARY, which creates a new order as a copy of the order with the ID from page 4 and returns the ID of the new order in the PK command ID of 29 page element.
  • Add the new payment group

    Dear,

    Could someone explain in details the steps to create the new group of payment like cash on delivery?

    Please don't tell me to refer to the documentation because I did not understand what

    http://docs.Oracle.com/CD/E26180_01/platform.94/ATGCommProgGuide/HTML/s1008extendingthepaymentprocesstosupp01.html

    the implementation is not clear

    Any help is appreciated... Thanks in advnace

    Create a payment CashOnDeliveryPaymentGroup extension of PaymentGroupImpl with its group properties

    create the interface and implementation classes - CashOnDeliveryProcessor with the following methods

    Public CashOnDeliveryStatus permits (CashOnDeliveryInfo, cashOnDeliveryInfo, CashOnDeliveryPaymentGroup cashonDeliveryGroup);

    public CashOnDeliveryStatus flow (CashOnDeliveryInfo cashOnDeliveryInfo, CashOnDeliveryStatus cashOnDeliveryStatus, CashOnDeliveryPaymentGroup cashonDeliveryGroup);

    public credit of CashOnDeliveryStatus (CashOnDeliveryInfo cashOnDeliveryInfo, CashOnDeliveryStatus cashOnDeliveryStatus, CashOnDeliveryPaymentGroup cashonDeliveryGroup);

    Create CashOnDeliveryProcessorImpl application CashOnDeliveryProcessor processor pipeline

    Create CashOnDeliveryStatus PaymentStatusImpl extension

    create ProcProcessCashOnDelivery payment processor that extends ProcProcessPaymentGroup and replace authorizePaymentGroup, creditPaymentGroup and debitPaymentGroup methods to return the CashOnDeliveryStatus object

    Create a bean object of CashOnDeliveryInfo containing all the data required by the methods of CashOnDeliveryProcessorImpl

    Create ProcCreateCashOnDelivery pipeline processor, which should create CashOnDeliveryInfo and add it to the object PaymentManagerPipelineArgsDictionary

    Add the pipelinechain in paymentpipeline.xml for an example

    Add the new entry in PaymentManager.paymentGroupToChainNameMap

    & paymentGroupToChainNameMap =.

    xyz.payment.CashOnDeliveryPaymentGroup = cashOnDeliveryProcessorChain

    Add the new class to the paymentTypeClassMap and add the new class of real estate beanNameToItemDescriptorMap to OrderTools and

    & paymentTypeClassMap =.

    cashOnDelivery = xyz.payment.CashOnDeliveryPaymentGroup

    & beanNameToItemDescriptorMap =.

    xyz.payment.CashOnDeliveryPaymentGroup=cashOnDelivery,\

    xyz.payment.CashOnDeliveryStatus = cashOnDeliveryStatus

    In OrderRepository.xml

    Add to the point-descriptor paymentGroup

    create descriptor of the item with the properties and create the db as a result table

    Regardless of the required properties

    Regardless of the required properties

    It could be useful, Wow I spent 20 minutes on this

  • Add the new storage provider

    Hello

    I try to add the new provider (HP P2000 G3 MSA FC) storage for VMware vSphere Web Client 6, then these steps vSphere 6.0 Documentation Center

    What is the "URL" or where I can find it? I used http://192.168.190.30/ which is the web storage console IP, but get error "the specified provider URL is not valid.

    TIA

    Hello

    VASA Provider URL is accessible via HP OneView plugin for VMware vCenter...

    See details in the section "Support of VASA" on page 37 of this white paper from HP to address official:

    http://WWW8.HP.com/h20195/v2/getpdf.aspx/4AA1-0290ENW.PDF?ver=8.0

  • Add the disk storage format to the script

    All, morning

    I had this script that I use to extract data on the virtual machine and their use of the disk, however I need to say and to report on the type of commissioning the disk and I can not find the command for it

    $VMFS = get-Datastore-Refresh - name "LUN? _VMFS_DS "| Sort-Object $_. Name

    $report = @ data structure empty #)

    $allvms = get - VM | Sort-Object $_. # Name I like sorts my datas

    {foreach ($vm to $allvms)

    $vmview = $vm | Get-view # get - view to see the details of the FM

    foreach ($disk in $vmview. Storage.PerDatastoreUsage) {# disks for the virtual machine

    $dsview = (get-view $disk. Data store) # store data used by drives

    $dsview. Refresh # RefreshDatastoreStorageInfo() to get the latest data

    $vmview. Config.Name # Echo to the screen to view the progress

    $row = "" | Select VMNAME DATASTORE, VMSIZE_MB, VMUSED_MB, blank line # PERCENTAGE

    $row. VMNAME = $vmview. Config.Name # add the data to the line

    $row. DATA store is $dsview. Name

    $row. VMSIZE_MB = (($disk.Committed+$disk.Uncommitted)/1024/1024)

    $row. VMUSED_MB = (($disk.Committed)/1024/1024)

    $row. P = [int] (($row.)) VMUSED_MB / $row. (VMSIZE_MB) * 100)

    $report += $row # add the line to the structure

    }

    }

    $report | Export-Csv dump of # "C:\temp\vm_ds.csv" - NoTypeInformation .csv report

    $DSReport Virgin @ reinscriptible = () # for the information store

    {foreach ($LUN to $VMFS)

    $VMSizeSum = 0 # we will summarize the data from the previous report for this LUN

    $LUN. Name # Echo to the screen to view the progress.

    foreach ($row in $report) {# Generate sum for this LUN

    If ($row. DATA store - eq $LUN. Name) {$VMSizeSum += $row.} VMSIZE_MB}

    }

    # Create a blank line and add data to it.

    $DSRow = "" | Select Datastore_Name, Capacity_MB, FreeSpace_MB, Allocated_MB, Unallocated_MB

    $DSRow.Datastore_Name = $LUN. Name

    $DSRow.Capacity_MB = $LUN. CapacityMB

    $DSRow.FreeSpace_MB = $LUN. FreeSpaceMB

    $DSRow.Allocated_MB = [int] $VMSizeSum

    $DSRow.Unallocated_MB = $LUN. CapacityMB - [int] $VMSizeSum # NB than if we have overused # disk space it will be a negative number

    $DSReport += $DSRow # add the line to the structure.

    }

    $DSReport | Export-Csv "C:\temp\Datastores.csv" - NoTypeInformation # dump make .cs

    This report on everything I need, but it will indicate the type of commissioning. Could you help me at all?

    Thank you very much

    Alex

    Ah, it is a bit of a problem, I'm afraid.

    vSphere provides only the freespace on a level of data store, not by the hard drive.

    There are a number of ways to get the freespace by hard drive, but none of them are foolproof, as far as I know.

    For example have a peek at the post called Alan PowerCLI: using Virtual Machine disc

    This gives the freespace, but an internal view of the BONE. In other words, it shows the OS partition information.

    And mapping of the partitions of hard disk operating system is not simple.

    A good method, which works in most cases, is the method of Arnim Match VM and HDDs in Windows using PowerCLI

Maybe you are looking for

  • Firefox goes to the crash report and will not start when I try to open it

    Crash ID: bp-9dc68df0-f096-454c-82c3-e32bf2130531 Whenever I try to open Firefox, it goes immediately to the crash reporter who said 'we're sorry. Firefox has been a problem and crashed. We will try to restore your tabs and windows when it starts. »

  • Can't get any DMG

    I tried opening/editing dmg different files from different sources and I still get the message: The following disk images could not be opened Reason for no mountable file system I also tried to open a different account and I get the same result, but

  • Quick exit Popup

    What values are returned, or how can I detect when you leave a promptpopup instead of enter the information? Thank you!

  • My screen is sideways. How can I make up?

    The screen was blank except fo an hourglass.  I double clicked and the screen came back to the side, it rotates 90 degrees.  I would like to restore normal vertical position.

  • check emails in windows 8

    Hi to you all It's just me, I can't seem to save an e-mail to another folder i.e. documents, impossible to find even a button/icon/app backup call what you want Yes im new windows 8, but the help file is just useless see you soon