How can i delete an element in a XMLTYPE-Column?

Hi!
I have the following xml-doc in an xmltype-column:
<root>
[...a lot of different elements...]
<a_element type="a">[...]</a_element>
<a_element type="b">[...]</a_element>
[...a lot of different elements...]
</root>
Now I want to "delete" all a_elements with type=b in the xml-output. I thought i could do it with the updateXML-Function. But i don't know how. Changing values and sub-Elements works, but not deleting them?
Does anybody know, how i could do it?
Bye,
Jens

I think You need to update the parent-node, You make changes to the parent when You detach the elements of concern.
Hope this helps
Marcel

Similar Messages

  • How can I specify the "linkage" between two XMLType columns?

    Hello all,
    I'd like to know whether I can do the following in Oracle 10g R2. Table A has a column C1 of XMLType; table B has a column C2 of XMLType; and C2 has an element links to C1's content (the root element) - not a copy of that.
    Thanks
    Cy

    In theory an DBURI can be used, making use of the DBURIServlet which is part of the XML DB Infrastructure
    /oradb/SCHEMA/TABLE[predicate]... I'm not sure I'd recommend this approach.
    XLink, XInclude and XPointer are the right techniques to do this. As I in my earlier post we don't do anyhting special to enforce or resolve these techniques in the current production product. You can store documents that contain these kind of links in the database. If you organize your content approriately in the XML DB repository you can resolve these links programatically today.
    We will be doing some interesting work to support all of these standards to a greater or less extent in a future release of the database. To use the repository to manage these links it will be necessary to create a resource that allows URL based access to each document that you want to link to. You can create links to existing content by obtaining a REF to the XMLType and then foldering the REF under the required URL.
    Note that this technique cannot be used to refer to XMLType stored in columns of XMLType in an relational table, only to rows of XMLType in an XMLType table.

  • In Elements 7.0, how can I delete multiple photos at the same time?

    In Adobe Photoshop Elements 7.0, how can I delete multiple photos at the same time?   Please be a little specific so I can follow your instructions as I'm not real smart at computers; I'm an intermediate user.  Thank you.

    Shift-click the photos or Ctrl-click them to select them, then right-click one of them and choose Delete from Catalog. They will all go together.

  • In photoshop elements 12 I try to delete a folder but the delete option is grayed out. how can I delete a folder from my catalogue?

    how can I delete folders from photoshop elements 12. the option to delete is grayed out an I don't know what the alternative options are

    Got it fixed!  The Folder was set to Open With Terminal!
    Maybe when you moved it over from your other system, the Open With got changed?  To change this, in your Finder, select the iPhoto library from your User/Pictures folder and do a Get Info on it Command+I.
    Then change the Open With to iPhoto application! 
    Then from the Finder, double click the iPhoto Folder and it will be opened with iPhoto!  WALLA it worked!

  • How can I delete my registration of a PS Elements 8 installation on a computer which is already sold (and formatted)?

    How can I delete my registration of a PS Elements 8 installation on a computer which is already sold (and formatted)?

    You can go to the Apple online store and purcahse a copy of Mountain Lion.  This will give you a redemption code, which you can use to download Mountain Lion from the App Store.  Unfortuantely, I'm not aware of any other way to legally purchase it.  I have never seen Apple release Muontain Lion on DVD.
    In terms of Apple Service, they just need the serial number of the machine to check the purcahse date.  It is usually correct, to within a few weeks.  A quick Google search should give you the correct number to dial.
    I hope this helps.

  • How can I delete the null in list

    hi all
    when I make any list always in the list null after all the value
    how can I delete this null value
    thanks

    thank you at first but this I want
    for example
    if I make any list and enterd some element in this list like fro example months name (jan-feb-------etch)
    after run the form I find all the months name plus null value I want to delete the null value and the list contain onle 12 element "months name"
    thanks

  • How can I delete an object?

    If I create a JLabel, how can I delete it?
    Somebody told me that with remove.
    How do you use it?

    [Swing Tutorial|http://java.sun.com/docs/books/tutorial/uiswing/]
    [java.awt.Container.remove(java.awt.Component)|http://java.sun.com/javase/6/docs/api/java/awt/Container.html#remove(java.awt.Component)]
    This is not "deleting an object" it is "removing a GUI element from a container". You can not "delete an object" in Java, you can remove all references to it and let the GC get rid of it, but from the body of your question it sounds like you want to "removing a GUI element from a container" not "delete an object".

  • How can we delete the programs made in se38?

    how can we delete the programs made in se 38?

    Hai Mala,
    For deleting the programs from the SE38 there is a icon for delete ....... in which you will see the pic of trash bin ....please enter the program name in the text area .... and then you can delete the prgram using that icon also ....you can only delete that program name when the things that you have declared in your program and your program also is not used by other programs.....
    please select all the checkboxes to delete all the elements of your program

  • How can I delete albums from my Ipad that have been copied from my PC?

    How can I delete photo albums from my Ipad that have been copied from my laptop?

    To delete photos from your device
    In iTunes, select the device icon in the Devices list on the left. Click the Photos tab in the resulting window.
    Choose "Sync photos from."
    On a Mac, choose iPhoto or Aperture from the pop-up menu.
    On a Windows PC, choose Photoshop Album or Photoshop Elements from the pop-up menu.
    Choose "Selected albums" and deselect the albums or collections you want to delete.
    Click Apply.

  • Two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account?

    I have two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account
    Or is it possible to transfer the purchases (apps) to my new .me account so that I can re-download them in the future without having to switch accounts?

    crazyshark wrote:
    I have two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account
    Or is it possible to transfer the purchases (apps) to my new .me account so that I can re-download them in the future without having to switch accounts?
    You can't do this, and you can't transfer purchases between accounts. There is no conflict about using one ID for iTunes, iTunes in the Cloud and iTunes Match (the ID you've been using for iTunes) and using the other ID for iCloud.

  • HT1918 how can i delete credit card from the itunes store?

    I prefer just to use gifts cards instead of my credit card but itunes wont let me delete my credit card information, and now I cant even redownload applications that i have previously purchased on my ipad. How can I delete and leave my account with no credit card info?

    Moorside01 wrote:
    I have the same issue. My son has an iPod Touch, but it seems that he has to have a credit card associated with the Live ID
    Live ID is for Microsoft.
    Are you saying you do not have the None option when you review his payment info?

  • How can I delete an iTunes account that has been deactivated?

    I deleted an old Apple ID with the help of a call to Apple Support.  However, my iphone is still trying to use the old ID.  How do I log out of the old ID and into the new?  Or, how can I delete the old ID when it has already been deactivated?  (Cannot delete with phone)

    Only iTunes Support can potentially delete an account (which would also delete any purchase history for it, so you would no longer be able to authorise that content on a computer, redownload it, and download updates to its apps) : http://www.apple.com/support/itunes/contact/
    Or you could just remove any personal info from it (e.g. payment details if you have any on it) and stop using it

  • How can I delete an iTunes account ?

    How can I delete an iTunes account ?

    Only iTunes Support can potentially delete an account (which would also delete any purchase history for it, so you would no longer be able to authorise that content on a computer, redownload it, and download updates to its apps) : http://www.apple.com/support/itunes/contact/
    Or you could just remove any personal info from it (e.g. payment details if you have any on it) and stop using it

  • How can I delete my itunes store account

    How can I delete my itunes store account

    At the moment you can't - just remove any personal info from it (e.g. credit card details) and stop using it. If you purchased any content from Apple with it (music, films, apps etc) then you will need to remember the account id and password in case you ever want authorise it so as to use it on a different computer (or the same computer if, for exampel, you upgrade the OS)

  • How can I delete an old iCloud account for which I do not remember the password?  The email address linked to that account is no longer active.

    The email linked to that account is no longer active.  How can I delete this old account and use a new one?

    Although your profile says you're running iOS 5.1.1 it sounds like you're running iOS 7 (otherwise you would not need your password to delete the old account).  Assuming that's true, and your iCloud ID has changed but you need to delete the old account in order to change to your new one, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, 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 iPhone on your device, even though it prompts you for the password for your old account ID. Then 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.

Maybe you are looking for