Changing Node name and appending sibling in DOM

Dear all,
I have what seems like a trivial problem. In a DOM I want to grab nodes with a certain name, duplicate them and attach the duplicated node with a different name to the original node. The duplication bit is no problem with cloneNode(). But there don't seem to be any method for the other tasks (something like: setNodeName() and appendSibling()). Any ideas?
Cheers!
NetWundi

as for the rename, you will need to just create a new
node, and position it in place of the old one, moving
the old one's children to the new node. As for
appendsibling, there is no such thing, you need to
get the parent, and use insertBefore(Node newChild,
Node refChild)Thank you for the reply! I will try it like this then.
All the best!

Similar Messages

  • How to change DB name and SID in RAC environment?

    I have 2 node RAC on Red Hat Linux, EL 4, upd. 4. It's using ASM
    and it is working great. However, after 2 years of faithful service
    I was asked to change DB name and SID. In non-RAC environment, that is
    easy. Rename a few files, change init.ora and re-create control file.
    I've done that many times. With 10g RAC, however, situation is different. There is also RAC registry which has the database under the certain name and, I believe, it also has SID registered. Can you, please, point me to a document describing how to do that? It's a production DB and I can't test it anywhere.

    It's in the manual:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17023/dbresource.htm#i1029540
    Larry

  • I have changed the name and password for my Time Capsule and now the Time Machine will not connect

    Mac Book Pro
    1TB Time Capsule.
    Yesterday I changed the name and password on my time capsule and also the name and password of the wifi network as I was having problems with the speed of the internet when using Safari on any of my devices (1 Macbook pro, 1 macbook air, 27" iMac, iPhone and iPad) all other internet services were working fine (email etc.) This seems to have solved the problem.
    However, since then, my time machine back ups will not reconnect and there is no option for me to reconnect to the existing back up for my macbook pro.
    When I enter the time machine preferences it shows as below that there are no back ups.
    Then, when I go to select a drive to use which should be the MacBook under the Backup disks the only option is for me to Remove Disk...
    So, my question is, how do I reconnect to an existing Time Machine back up for my MacBook pro as I really do not want to erase and start all over again.
    Warning - In my naiveté, I did click on the MacBook in 'Available Disks' but I got the impression that it was about to start a whole new back up and not work with the existing one.
    (And does anybody have an inkling as to why there was a problem with Safari on all my devices? I downloaded Google Chrome and that worked fine).

    Simply reset the Time Machine.
    See A4 here http://pondini.org/TM/Troubleshooting.html
    You can then mount the TC disk in finder after you reboot the computer.
    You should be able to reselect the TC disk and then it will say it is going to start a new backup.
    Ignore this.. when the TM actually loads the TC disk it will discover the existing backup and continue the backup.. but it will give no hint until it actually starts that it won't start a new backup. you just have to believe it won't.. and mostly it works..
    Please also install the widget A1 so you have some idea what TM is doing.

  • TS5223 i have change my name and my icloud is still using the old account. how do i change it to my new apple ID on my iphone without deleting the backup already in icloud

    have change my name and my icloud is still using the old account. how do i change it to my new apple ID on my iphone without deleting the backup already in icloud

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, and your old ID is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I want to change the name and password of the administrator on my macbook pro

    I want to pass on my Macbook pro to the next generation so I want some help please to change the name and the password of the administrator.

    Giving away / Selling your Mac / Resetting  the computer to the factory condition
    http://support.apple.com/kb/HT5189
    http://www.thesafemac.com/how-to-prepare-your-mac-for-sale/

  • How to change host name and domain name in installed Cisco Meeting Place Express 2.0?

    Hi
    I have  Cisco Meeting Place Express 2.0 installed on server. Meting Place uses Linux (Red Hat) as base operation system. Please tell me how I can change host name and domain name for Meeting Place Express application to integrate it into corporate domain infrastructure.
    Thanks in advance!!!
    Sincerely yours
    Sergey Bondarenko

    Hi
    Thanks for your attention for my humble problem.
    I have performed Meeting Place Express configuration through the “net” command.
    But now unfortunately I can't connect to meeting place through web browser. I just get blank page.
    Though I can reach the server with help of ssh. I think my DNS works properly because I can resolve the ip address of  cumpxvoice .uclab.com and cumpxweb. uclab.com with help of dig command.
    Have you any idea?
    A lot of thanks in advance!!
    Sincerely yours Sergey Bondarenko
    Here I have printed the net configuration output of Cisco meeting Place Express:
    [root@cumpxvoice root]# net
    This is the MeetingPlace Express network configuration utility.
    Up to the point where you save changes, it is safe to hit ^C to get
    out at any time, in which case nothing will have changed.
    1) List current configuration
    2) Configure Ethernet port 1
    3) Configure Ethernet port 2
    4) Configure service bindings
    5) Set host names
    6) Set domain name
    7) Configure DNS service
    8) Configure NTP service
    9) Configure routing
    10) Done
    Select: 1
    Primary/audio host name: cumpxvoice
    HTTP host name:          cumpxvoice
    RTMP host name:          cumpxweb
    Domain name:             uclab.com
    Service bindings:
    Audio:                   port 1 (eth0)
    Web browsing (HTTP):     port 1 (eth0)
    Web conferencing (RTMP): port 2 (eth1)
    Port 1 (device eth0):
    IP Address:      10.62.60.116
    Network mask:    255.255.255.0
    Default gateway: 10.62.60.1
    Link setting:    autoneg on
    Port 2 (device eth1):
    IP Address:      10.62.60.117
    Network mask:    255.255.255.0
    Default gateway: 10.62.60.1
    Link setting:    autoneg on
    Static routes:
    Destination      Gateway          Network mask     Port
    0.0.0.0          10.62.60.1       0.0.0.0          1
    DNS Servers:
    10.62.60.115
    10.0.1.4

  • Every time I download a file to my macbook pro, it saves it to downloads but changes the name and inserts % sign.  Please advise how to correct the name that it is saved under.

    Every time I download a file to my macbook pro, it saves it to downloads but changes the name and inserts % sign.  Please advise how to correct the name that it is saved under.

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID.
    Apple ID FAQs
    http://support.apple.com/kb/HE37

  • How do I change the name and cover of a ebook in ibooks for mac?

    I have iBooks on my macbook pro and would like to change the name and cover of some epub books I dowloaded.  How do I go about doing this, if there a get info like in itunes that I just can't find?

    Try Calibre for Mac, available on macupdate.com. It's clunky to have to use 3rd party software, but until Apple fixes the abomination that is iBooks, that's what we'll have to do.

  • My phone was stolen, I have moved it in lost mode,but I can see that whoever has it,is changing phone name and can use it until I activate lost mode again.Can I do it permanently? How can I cancel ICloud back for the stolen phone,it blocks Cloud memory?

    My phone was stolen, I have moved it in lost mode,but I can see that whoever has it,is changing phone name and can use it until I activate lost mode again.Can I do it permanently? How can I cancel ICloud back for the stolen phone, as I cannot delete the stolen phone backup (says that backup is being in use) and this is keeping memory occupied in the Cloud and I cannot back-up the other devices.

    http://support.apple.com/kb/ht2526

  • Changing the name and path of Targets, Exec, Products, etc

    I want to change the name and path of the Products, Targets, and Executables, but the text box in the 'info' window won't let me edit, and the choose buttom is grayed out.
    Any ideas?

    I just did this yesterday... and it's fairly confusing trying to figure out what all to change.
    You can change the name of your target and executable by selecting them in the "Groups & Files" list and then selecting "File -> Rename" from the menubar.
    It appears as if you can also select your Product and rename it in this way too... but (in my case) doing that didn't seem to actually rename the final app that's produced.
    In order to rename the actual final application I believe you must select your target click the "Info" button... in the Info window select the "Build" tab. Scroll down until you find the "Product" entry. Double-click that and change it's name. Note that you may need to change the product name for each of your build configurations (ie Debug & Release).
    Steve

  • How do I change admin name and password on install for PS 7.0 for Mac

    I have an old 7.0 full photoshop disc from a business that closed a couple of years ago. When I try and install it asks for a administrator name and password. The person who used to work for the company and install the programs on our computers is no longer around. Is there I way I can bypass this or change the name and password so I can install Photoshop on my new Mac laptop? Thank you.

    Change the password with your OS X install disk. See
    here for details.
    J

  • When i change my name and profile picture can the ...

    When i change my name and profile picture, can the blocked people see my name and my profile?
    Help me please

    I'm not really sure but I think yes.  Blocking a contact will only prevent them from contacting you or sending you contact request.  The visibility of your account information depends on how you set it, if you had them visible to public or to your contacts only.
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • Difficulty changing computer name and domain name

    I have a working Xserve with the latest Snow Leopard Server and am having difficulty reconfiguring it from its keyboard.
    I would like to edit the computer name and domain name and maintain all other server settings. I would prefer to do this off-line. However Server Admin appears not to work off-line and any attempt to change computer name or domain name removes all server settings from view including the serial number. I can recover everything by reinstating computer name etc and restarting on-line.
    Is the serial number tied to the computer name and/or domain name?
    Is there any way to retain my existing server settings for a different domain?
    Is there any way to progress any of this off-line?

    This has now been resolved. This note is to assist others who have the same problem.
    1 - I had been changing the computer name in the place I had always done it - System Preferences/Sharing. This confused Server Admin. Reverting to the original name and changing computer name and location within Server Admin resolved the issue. That is System Preferences/Sharing is updated by Server Admin but not vice versa.
    2 - Playing with these things can corrupt Server Admin plist resulting in a restarted Server Admin not seeing the edited server even with the server otherwise fully functioning. Trashing Server Admin plist resolved this for me without loss of server settings.
    3 - Having set it up off-line I experienced difficulty as soon as I went on-line. This was resolved by changing the server from 'local' to its full domain name. I have no explanation for this as the same settings had previously worked with 'local'.
    4 - Server Admin can take a long time to find settings and occasionally failed to do so until after a restart.
    The result can be seen here: http://links.open.ac.uk/ - Since Apache refuse to provide hit counter support (there are several public posts of mine on the subject) I use JavaScript to retrieve the count from an old QPQ server running on a G3 with OS 9.

  • Skydiver. After using separate apple ID's our two iPad minis still get things mixed up like Siri changes our names and some phone

    Skydiver. After using separate apple ID's our two iPad minis still get things mixed up like Siri changes our names and some phone#'s

    but I would like to be able to dowload content to the Ipad as well.
    I'm afraid that you can't sync content to an iOS device via Home Sharing (you can only stream it to an iOS device via Home Sharing).

  • How to change of NAME and IP after RAC installation.

    Hi Friends,
    I have a challenge here...Would appreciate if anyone can help me..
    I have to install 10.2.0.3 Oracle RAC on windows 2003 server 64 bit.
    My issue is now the server names and ips are set and I am going to install the RAC.
    But the client need is that after one month, they need to change the names and ips of the servers (a one time change).
    Because according to their server naming standards, current production servers are having the acceptable names and ips.
    The installation was on a 32 bit OS, so they are facing out of process memory errors. Thats why they are going to 64 bit OS on new servers.
    After the new servers are ready, the data will be migrated to new server. After a month, they need to change the names of new servers to that of the old (current production) servers.
    Could anybody help me by giving me information about how to change the NAME and IP after a RAC installation ?
    Any metalink notes or commands as it is........
    Thank you,
    Mahesh.

    Hi,
    You can change the IP later but you can not change the hostname of the system.
    You have to install CRS freah if you want to change the hostname of the system.
    Please let us know which IP you want to change.
    You can see the metalink Note.276434.1 for VIP or VIP hostname change.
    Regards,
    KK

Maybe you are looking for