XMLType - add new node (simple question?)

Help me, please. I've spent much time on trying resolve this problem with no result... Give sample code please.
The problem is:
declare
vxml XMLType;
begin
vxml := XMLType('<A><B><C></C></B></A>');
end;
What I have to do in "[...]" to add new child-node to <C> node?
As a result I whant vxml: '<A><B><C><new></new></C></B></A>'.
And please:
- don;t say about updateXML because it works only in SQL-DML
- if You think it necessity to use dbms_xmldom, let me show how (I tried to use xmldom in many ways)
Thank you in advance

Please post this message at:
Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB

Similar Messages

  • XMLTYp - new node (simple question?)

    Help me, please. I've spent much time on trying resolve this problem with no result... Give sample code please.
    The problem is:
    declare
    vxml XMLType;
    begin
    vxml := XMLType('<A><B><C></C></B></A>');
    end;
    What I have to do in "[...]" to add new child-node to <C> node?
    As a result I whant vxml: '<A><B><C><new></new></C></B></A>'.
    And please:
    - don;t say about updateXML because it works only in SQL-DML
    - if You think it necessity to use dbms_xmldom, let me show how (I tried to use xmldom in many ways)
    Thank you in advance

    Please post this message at:
    Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB

  • Add new nodes to IDoc in IDoc-XML Schema Mapping with Java

    Hello everyone, I'm not very sure if this is the right forum but I have a problem and I haven't being able to find the answer, my scenario is as follows:
    -First of all our system characteristics: SAP ECC 6.0, SAP BASIS 700, PI BASIS 2005-1-700 and SAP APPL 600
    -We are in Mexico and we are creating our own billing documents with digital signature and a digital certificate in XML format according to SAP Note 1303712 and all derived notes.
    -Our actual schema is working fine: We generate our IDocs (one for SD and one for FI) in SAP and we send them to PI XI to be parsed by a JAVA program and then converted to XML.
    Now we have the requirement to add new nodes (I might be wrong in the term, feel free to correct me) to the IDoc, it sounds very simple but I have only experience with ABAP  and no experience with PI, also it's working only on our production landscape, so if I don't do it right it could be very dangerous.
    I have already read the following notes that might help me: 1321680 and 1318342 but their configuration is just in the aplication server and don't mention anything about PI or the Java program.
    So, if any one could provide me some kind of guide or important aspects that I should take care (like mapping, structures, etc) to enhance IDocs for this schema i would be very grateful.
    I hope this post were clear enough, if it is not also feel free to ask me to clarify or provide more information.
    Kind Regards
    Omar

    Hi Omar,
    Since the structure of the IDoc is changing (adding a new node), you would need to do the following in PI:
    1) Reimport the IDoc in ESR/IR of PI.
    2) Change the mapping/transformation logic in the mapping parser defined. If it is a Java code, you would need to reimport it in the ESR/IR. Use link below to understand more on jave mapping.
    http://wiki.sdn.sap.com/wiki/display/XI/BeginnersguidetoJavamappingusingDOMparserinSAPXI
    3) Delete the IDoc cache using transaction IDX2, after the IDoc is reimported.
    Regards,
    Sanjeev.

  • Add new node on vehicle master

    Hello experts,
    We have many custom fields on vehicle master and we can't add more than 99 custom fields on same screen (SAP restriction)
    Now I want to add new node (like we have data Entry, Service, Document flow)
    Once I add new node, we know how to add new tab and fields. But How can we add new node no Vehicle master?
    Do we need to use one of below mentioned BAdI or some other and how to do it step by step.
    BAdI: Exchange Vehicle Data Screen in Vehicle Detail
    Or
    BAdI: Exchange Configuration Screen in Vehicle Detail
    Please advice.
    Thanks

    Hi ,
    do you want to enhance DBM vehicle master or VMS ?
    Regards
    Ganesh

  • Add New Node - Adobe Director Microsoft Treeview Control 6.0 xtra?

    Can some one help me on how to add new node to TreeView Control provided as xtra with Adobe Director. Tried using sprite(1).Nodes.Add but not working. Please assist

    Right, I am accessing the control via Insert  ->Controls -> ActiveX -> Microsoft Treeview. (unable to find any documentation)
    I am actually trying to make a treeview and on selection do some stuff.
    I have tried using CxtraPopup to create the same but when publishing it says unregistered version.
    Can you please suggest any xtra that supports Menu.
    Thanks

  • XI 3.1 SR3 on Solaris SPARC - using ccm.sh to add new node ?

    Hi,
    I'm configuring the XI 3.1 SR3 Integration for SAP component on my newly built BOE 3.1 SR3 environment and have a question on the "configuring SAP server side trust" part of the configuration. On page 91 of the Int Kit for SAP guide it states that :-
    To configure BusinessObjects Enterprise servers
    After you generate a PSE for BusinessObjects Enterprise, you must configure
    an appropriate server structure for SAP processing. The following procedure
    creates a node for SAP processing servers, so that you can set operating
    system credentials on the node level.
    Note:
    In this version of BusinessObjects Enterprise, servers are no longer
    configured in the Central Configuration Manager (CCM). Instead, a new
    Server Intelligence Agent (SIA) must be created.
    1. In the CCM, create a new node for SAP processing servers.
    Give the node an appropriate name such as SAPProcessor. For
    information about nodes, see u201CAdding a nodeu201D in the SAP BusinessObjects
    Enterprise Administrator's Guide.
    2. In the CMC, add the processing servers you need to the new node, then
    start the new servers.
    For information about adding and starting servers, see the u201CManaging
    and Configuring Serversu201D chapter of the SAP BusinessObjects Enterprise
    Administrator's Guide.
    The trouble is that the BOE S.1 SR3 administrators guide for "adding a node" on page 63 describes the process on windows where the ccm GUI tools is used. On unix however the ccm.sh command line tool needs to be used and looking at the "ccm.sh -help" options I can't see anything listed that could be used to perform this add node procedure.
    Can anyone suggest to me how I can setup this new node that is required so I can continue with the XI 3.1 SR3 Integratrion for SAP setup.
    Regards,
    Brian.
    I'm new to BOE so please accept my apologies if this is a basic task.

    Hi Seb,
    thanks for this. I suppose I'm unsure on this due to me only just becoming involved with BOE, the Integration for SAP document isn't very clear on this process for setting up a new SIA. I checked with the project manager and this needs to be setup to enable their planned usage. I'll take a look at using the serverconfig.sh utilility to create a new SAPProcessors "node".
    I'm assuming I can then use the CMC as per step 2 in the XI3 SR3 Integration for SAP guide, page 91 :-
    To configure BusinessObjects Enterprise servers
    After you generate a PSE for BusinessObjects Enterprise, you must configure
    an appropriate server structure for SAP processing. The following procedure
    creates a node for SAP processing servers, so that you can set operating
    system credentials on the node level.
    Note:
    In this version of BusinessObjects Enterprise, servers are no longer
    configured in the Central Configuration Manager (CCM). Instead, a new
    Server Intelligence Agent (SIA) must be created.
    1. In the CCM, create a new node for SAP processing servers.
    Give the node an appropriate name such as SAPProcessor. For
    information about nodes, see u201CAdding a nodeu201D in the SAP BusinessObjects
    Enterprise Administrator's Guide.
    2. In the CMC, add the processing servers you need to the new node, then
    start the new servers.
    For information about adding and starting servers, see the u201CManaging
    and Configuring Serversu201D chapter of the SAP BusinessObjects Enterprise
    Administrator's Guide.
    Regards,
    Brian.

  • SCCM 2007: SQL Clúster Add new nodes

    We've installed SCCM 2007 with SCCM DB in a clúster SQL with two nodes (Node1, Node2)
    We're going to add two new nodes Nodes3 and Node4. After, we'll remove Node1 and Node2 from Clúster...
    I see that SCCM has two site system created (Node1 and Node2) and I don't know if SCCM will add the new nodes automatically when I add the new nodes to the clúster..
    Any problem with this??

    I have never done it and remote SQL is not best practice anyways.
    http://technet.microsoft.com/en-ca/library/bb735870.aspx
    So...
    http://www.enhansoft.com/

  • OIM-SOA CLUSTER add new node

    Hi All,
    i need to add a new node to my cluster OIM/SOA.
    My env is:
    1) cluster 6 nodes whit SOA and OIM
    2) the first node have a console weblogic server admin
    3) More patchs are installed on
    Look at this picture: [https://dl.dropboxusercontent.com/u/9054488/OIM-SOA-CLUSTER.jpg]
    I found the proc to doc.id [e10106 pag.523 - 8.9.3.20.1 Scaling Up Oracle Identity Manager] but I don't understand if it is applicable to systems already patched.
    There is a procedure already proven and clearer?
    Thanks.

    In order to add a new node, you must first install all the applications/modules in your middleware home. Install the same patches on top of those. Then using the packEnv scripts to pack up the domain, and then unpack it to your new host.
    From the weblogic console, use the option to clone your app server and create a new machine for your new machine instance. Startup your node manager on your new machine, and start your app server.
    You just need to make sure to do all the same modifications, if you have any, to your new server, like deploy jar files, make changes to UI interface, etc.
    -Kevin

  • RAC add new node

    Hi everybody...
    Maybe somebody Knows, any case in wich, add a new node to a RAC configuration different of the rest.
    That means the new node have less memory less CPU, can cause degradation to the current configuration.
    Thanks.

    As long as the h/w specs meet the min requirements, it will not cause any degradation to current configuration. However, say you have two node RAC having different h/w spec and one of them is down, you will face perf degradation anyhow (although it may be more visible if high-end node goes down).

  • Add new email address question

    Hello,
    I want to add a new email address to my .mac account. When I tried to do that, a week ago, I was informed that I would have to delete one of the addresses I have already, so I did that. Then I was told I would have to wait until January 8th before I could add another address. OK, so I've waited. Not a huge problem at all.
    But today is January 8th (almost 6am PST) and I'm not being allowed to add the name. I suppose I can wait longer if need be, but does anyone know why this is happening? Will I have to wait until January 8th has gone by?
    Patrick

    Not answered but the question is no longer relevant

  • HELP!!! add new node

    Friends,
    Suppose I have following xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Organisation name="abc">
    <employee>
    <name>e1</name>
    <age>20</age>
    </employee>
    <employee>
    <name>e2</name>
    <age>20</age>
    </employee>
    <employee>
    <name>e3</name>
    <age>21</age>
    </employee>
    </Organisation>
    Suppose I have to add one more record to it at a particular location (not necessarily at the end)
    <employee>
    <name>e4</name>
    <age>22</age>
    </employee>
    What is the preferred way to do it ?
    XML file is very large in actual scenario.
    Earlier I faced problems in reading my XML file using DOM (outOfMemory problem) so I used SAX. Now also I want to use SAX for this(JAXP). But I am unable to find any sample code for it.
    Some people suggest to use JDOM in stead.
    Pls suggest ASAP.
    waiting
    regards
    Varun

    Refer to
    http://javaalmanac.com/egs/org.w3c.dom/AddNode.html

  • New company (Merger) New Tree New GW2014 - simple question

    Company merged one of us a 30ish N shop with GW 2012 the other a 27 user MS shop with exchange 2003
    We've (the other IT guy and I) decided to create...

    Hello,
    just a little question. If I move a user in our Active Directory, I have to "synchronize" the user in GroupWise-Admin otherwise the LDAP-DN...

  • Add New Nodes

    We have to add to our CW LMS 3.2 some WCS, WLS, ACS, FW.... but we only have HTTP or HTTPS credentials. Would that be enough to manage them? they appear as "?" and no configuration is downloaded...

    No, this is not sufficient.  You need at least SNMP read-only access to manage these devices.  Note: Campus Manager will not support firewalls or the ACS appliance, so a '?' there is expected.

  • SQL Server Distributed Partitioning Views how to add a new node online

    We are using distributed partitioning views in SQL Server 2012 Enterprise Edition for scaling out our data across more than one servers. Now we faced to question how to add a new node (server) into the scale outed db servers system without sending the servers
    down, so our users will be able to use them during the process as well.
    For example we have 4 servers with scaled out data. When we add the new empty server, the CHECKINGs for the partitioning columns should be reorganized. But during the process the partitioning views are not working.
    The High Availability, Always On or Failover Cluster approaches seem are not resolve the problems.
    So my question is how to add new node online?
    KH

    Thank you Erland for the reply.
    Yes, it's sounds as possible solution but has some not resolvable nuance in it. Let's say we copied some data from Node5 to new added Node6. Let's assume in Node5 we had data in Table1 with partitioning column's values 100,101,102,103,104,105,106.  Now
    we want to copy part of the rows with partitioning column's values 103,104,105,106 from Node5.Table1 into Node6.Table1. With this Node5 will contain less data and will work more quickly (less IO, less CPU usage etc), and the rest data will be contained on
    Node6. But because of Node5 is already in use, the Node5.Table1 contains CHECK CONSTRAINT = ParttionColumn should be from 100 up to 106. This is check for Node5. The Distributed Partitioning Views are already using the CHECKs to identify what server should
    be used to get data from.
    Now when we copied part of the Node5.Table1 rows to Node6.Table1 the views are still using the 103-106 rows from Node5.Table1 because the CHECK points there. Then we include the newest Node6.Table1 in the distributed partitioning views. OK, but we should
    set some CHECK on new Node6.Table1 which will be used by views. We can't set intersecting checking like Node5 has CHECK 100-106 and Node6 has CHECK 103-106. We also can't edit Node5 check and set it 100-102 untill the data will be removed in it. But this means
    that the data will not be available during the execution. 
    So, any ideas ?
    KH

  • AddNode when add database software to new node

    Hi,all;
    after add oracle clusterware to new node,I perform $ORACLE_HOME/oui/bin/addNode to add database software to new node.
    but the commad it seem to add clusterware to new node again.how to fix?
    cluvfy stage -post crsinst -n all
    passed
    detail of inventory.xml
    <INVENTORY>
    <VERSION_INFO>
    <SAVED_WITH>10.2.0.1.0</SAVED_WITH>
    <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
    </VERSION_INFO>
    <HOME_LIST>
    <HOME NAME="OraDb10g_home1" LOC="/opt/oracle/product/10.2.0/db_1" TYPE="O" IDX="2">
    <NODE_LIST>
    <NODE NAME="rac1"/>
    </NODE_LIST>
    </HOME>
    <HOME NAME="OraCrs10g_home1" LOC="/opt/oracle/product/10.2.0/crs_1" TYPE="O" IDX="1" CRS="true">
    <NODE_LIST>
    <NODE NAME="rac1"/>
    <NODE NAME="rac2"/>
    </NODE_LIST>
    </HOME>
    </HOME_LIST>
    </INVENTORY>
    Edited by: Index.Lee on Sep 16, 2010 9:19 AM

    Hi,ssolbach:
    thank you.
    environment is good.
    You mean ./addNode copy Oracle database software to new node?
    No,in fact,I can not continue the installation.
    as well know, when add clusterware to new node, when GUI goes "add new nodes list",It will list the new member with hostname,host-vip,host-priv,
    While add database software to newnode,the same GUI will display 'host_name' only.
    the problem I meet is:
    After finished add clusterware to new node, I add database software to new node. and when "add new node list",it dispaly new member with hostname,host-vip,host-priv. so that,I cannot proceed the installation.

Maybe you are looking for

  • Why can't I delete mailbox items before a certain date?

    What appears to be wrong with my syntax here? I am trying to delete all emails from the beggining of time up until today's date. I know it seems pointless because I could just execute -DeleteContent without a SearchQuery, but I am trying to prove a c

  • ALV GRID WEB DYNPRO ABAP CREATE FUNCTION BUTTON ON A NEW LINE?

    Dear all, I'd like to create 2 pushbuttons on a second line of the alvgrid toolbar Is there any way to do that ? Regards

  • AME does not work

    CS4 Windows 7 and today AME does not work From Premiere to AME (from fullHD to Mpg2) it start codering but stops. I can see that AME trys to make a.mpg file but at the same time AME makes also a .w2m and a .mpa file. I can use AME for codering to een

  • ORACLE GRID SNMP

    Oracle Grid Control supports SNMP without TRAPS? with tools snmpwalk and on concrete OID mib will not answer my server ¿Oracle Grid Control needs additional agent to use SNMP?

  • I have tried everything suggested and still cannot load websites after updating firefox

    I have a Mac Pro. I just updated to Firefox 3.6.11. After that, I could not access most of my web sites. At first Yahoo.com would come up with just what looked like the basics - all information in separate lines and no pictures. Somehow that resolved