Correct XPath to delete single keyword?

I am trying to update keywords in XMP data using the XMP toolkit. I don't seem to be able to get the correct XPath to delete only 1 keyword in the "subject" bag. My code looks like this:
// "Asia" does not get removed (no exceptions get thrown, either)
theMetaXAP->remove(XAP_NS_DC, "subject/*[.=\"Asia\"]");
I am able to successfully delete all keywords with this:
theMetaXAP->remove(XAP_NS_DC, "subject/*"); // succeeds
What is the correct XPath syntax to delete only one keyword? Or is this not supported?
Dave

Select images, Type in the Keyword you WANT to delete in the Add Keyword field at the bottom of the window (next to the keyword buttons) then - Shift-Apple + Return to Delete that word.

Similar Messages

  • How do I deleter a keyword from a keyword collection?

    When I remove the keyword from all clips, it still appears on the keyword collection list under the event in the event list in the left hand column.  How can I get delete the keyword entirely from the list of keywords.
    Thanks in advance for the help.

    I'm going off topic here a bit, but I want to address the awkward termonolgy used in FCPX, of which this is a perfect example. A single word should not be called a collection, I can understand how desert56 had difficulty here, I reacted the same way. If something is a collection, it's more than one thing, calling a single item a collection makes no sense, it should be called a keyword IN the collection.
    As well, when I started using FCPX a few weeks ago, my first encounter with Events and Projects caused me to stumble quite bit because those two words are often used interchageably in day to day conversation. It's especially confusing when I'm used to the old Final Cut terminology of bins and timeline. So I just call the Events the raw or original footage and the Projects the timeline or edited footage when I explain FCPX to anyone. If Apple used better labels for these items, it would be easier to get started in FCPX.

  • Delete same keyword across multiple photos?

    Greetings,
    I have a single keyword that I want to delete across hundreds of photos. Is there any way to do this? I have tried to select a handful of them, go to metadata > keyword, but it only shows the largely highlighted single photo.
    The photos have many different keywords, so I can't copy and paste stamp, I really need to target this specific keyword and delete it from them all.
    Does this make sense? Is there no way to do this Aperture?
    -i

    Select images, Type in the Keyword you WANT to delete in the Add Keyword field at the bottom of the window (next to the keyword buttons) then - Shift-Apple + Return to Delete that word.

  • Easy way to add a single keyword to an image?

    I just organized a bunch of photos I took at a birthday party, and ran into some <br />awkwardness when keywording.  Hopefully it's just user ignorance, but if not, <br />maybe someone can offer a workaround.<br /><br />I did the import with no keywords, because I wasn't thinking.  Once I'd done <br />that, I selected all images in the "Last Import", hit Ctrl-K, and typed Birthday <br />(which is one of my standard keywords).  Then I deselected all images and <br />started doing selective keywording.  That's where it started getting awkward.<br /><br />I had several shots that had my son in them, so I selected all of them and hit <br />Ctrl-K.  This put my cursor in the keyword box in the right-side panel, with <br />Birthday highlighted.  I hit <End>, then typed comma and MySonsName.  No problem <br />so far.<br /><br />I delselected the shots and selected the ones that had my daughter in them.  The <br />right-side keyword panel now showed something like "Birthday*, MySonsName*".  I <br />wasn't sure whether I could just add MyDaughtersName to the images without <br />actually adding MySonsName to all selected images (even those without my son in <br />them).  That's the awkward part.<br /><br />What I found was that in order to add a single keyword to a bunch of images at <br />once, I had to enable Keyword Stamping and use that.  An alternative was to "Set <br />Keyword Shortcut", enter the keyword, select the images I wanted, and then use <br />"K" to add the shortcutted keyword to the images.<br /><br />Is there any way to simply say "add this keyword to all selected images" in one <br />atomic action?  In other words, hit a keystroke, type the keyword, hit Enter, <br />and it's now applied to all selected images.<br /><br />-- <br />Rob Freundlich<br />"Males ae biologically driven to go out and hunt giraffes." - Newt Gingrich<br />"Some folks you don't have to satirize, you just quote 'em." - Tom Paxton

    <[email protected]> wrote in message <br />news:[email protected]..<br />> In the right hand keyword pane the list should show something like "birthday, <br />> *sonsname". The * means that the keyword isn't<br />>applied to all the images.<br />><br />> To add your daughter's name to the selected images, just add it to the end of <br />> the list and press return. As long as you don't<br />>remove the * you won't apply your son's name to all the images. if you do <br />>remove the *, then you will.<br /><br />Sweet.  I'm a programmer, so I thought the * meant multiple images, not "not all <br />images", so I didn't even think of trying that.  Works like a charm, though.<br /><br />Thanks!<br /><br />-- <br />Rob Freundlich<br />"Males ae biologically driven to go out and hunt giraffes." - Newt Gingrich<br />"Some folks you don't have to satirize, you just quote 'em." - Tom Paxton

  • How Can I Delete All Keywords in All Files?

    I'm starting to get the hang of how to use the keyword functions in Lightroom, and I can see that I've been sort of mis-using them for a while.
    In one of my catalogs, I would like to eliminate ALL the keywords I associated with ALL the files (about 3,500) in the catalog, and start over.
    Is there any easy way to remove all the keywords, without having to go through every image individually??
    Even folder by folder would be preferable to image by image.
    Doable?
    Thanks,
    --PS

    Actually, what worked was the solution I found here:
    http://help.adobe.com/en_US/Lightroom/2.0/WSA83AE0BC-9C98-4699-BCC2-33FDE227AF92.html
    "To permanently delete a keyword tag from photos and the catalog, right-click (Windows) or Control-click (Mac OS) the keyword tag in the Keyword List panel and choose Delete from the menu. You can also select keyword tags and click the Minus icon (-) at the top of the Keyword List pane"
    I went through and deleted the keywords themselves, and that removed them from all the images/files that had those key words.  That also allowed me to leave the few keywords I wanted to actually keep.
    So that problem is solved, I think...
    Thanks,
    --PS

  • Hello, I would like to know how to add or delete single cell in numbers.

    Hello, I would like to know how to add or delete single cell in numbers.

    If by delete you really mean clear the contents of a cell, then just click once on the cell and hit the 'delete' button.
    Before:
    After hitting delete button:
    In some circumstances you can actually delete one cell.
    For example here, I make this choice:
    Resulting in this:
    So it's not strictly true that Numbers does not delete one cell, ever.  It can if you have a one-column table. 
    So never say never or not ever! Enough pedantry for today!
    SG

  • IPhoto doesn`t work correctly with german "umlaut" (ä,ö,ü) in keywords

    iPhoto doesn`t work correctly with german "umlaut" (ä,ö,ü) in keywords. They get to ä̈,ö̈, ü̈ when I write the keyword a second time. Can anybody tell me why. Thank you. Heinz

    It apparently does not like non-standard English characters - use A-Z and 0-9 adn you should be OK
    report to Apple - iPhoto menu ==> provide iPhoto feedback
    LN

  • I have two related keyword problems.  Some keywords get "broadcast" to every photo in an event.  It's almost impossible to delete these keywords from individual photos.  I select the keyword, hit delete and it reappears after a few seconds.

    I have two related problems with keywords in iphoto 11.  Sometimes, keywords get magically "broadcast" to every photo in an event or album.  It's difficult to delete these keywords.  If I select one and try to delete it it vanishes.  About half the time, it reappears again either in a couple of seconds or after I go to another photo and then return to the previous one.  When thios happens, I need to delete the keyword two or more times before it actually vanishes.  With several hundred photos in an event that all have a bad keyword, this is a tedious process.  I've tried rebuilding the library once, but with only the first (I think) option checked on the rebuild.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Insert or delete single cells

    How do I insert or delete a single cell?
    For example, I want two columns of text. aligned horizontally, and, separated by a blank column.
    The two text lists have been created in other applications.
    So I copy list1, and paste it in cell C7.
    Then I copy list2, and paste it cell G6.
    oops. Now the lists are not aligned horizontally.
    The easiest way to align the lists is by either delete a single cell in column C or insert a single cell in column G.
    But I can't find the option to add/delete single cells.
    Does that option exist in Numbers? If so, how/where?
    Thanks,
    AJ

    AJ,
    My first thought on reading your post was: why are you using a single table for two side-by-side lists? If you had used two single-column tables you could use Delete Row or Insert Row to do what you want.
    pw and John both gave you perfectly good solutions, and I just wanted to add my two cents worth. I don't see much value in the Add/Delete Cell feature that you are looking for. The action never ends there because there's always a followup question as to what you want to do with the data to the right of and below the affected cell. So, it hasn't saved you any real time.
    Numbers has a very handy and secure method for moving a range of data. Highlight the range that you want to move. Then, Edit > Mark for Move. Now, click in the new starting location and Edit > Move.
    There you go; several ways to recover from the inevitable oops. Depending on how soon you discover your mistake, Command-Z is probably the easiest fix.
    Jerry

  • Delete single call/sms in log for Nokia E 51 & E ...

    Hi,
    Can someone advice me how can I delete single entry (call or sms) in log? I have Nokia E 51 and E 66 and it can be done, deleinge but all comunications. Doe anyone know how to do that, is there any short cut or it can be done by installing some software only, like Best private comuncations for example. Thank you in advance.
    Kind regards

    single entries cant be deleted they can from your initial call history but not from the log they can only be cleared all in one go
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • My itunes is not working correctly. can i delete and reinstall without losing my music

    My itunes is not working correctly. can i delete and reinstall without losing   music?

    Hi there,
    You may find the article below helpful.
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    iTunes Store purchases or songs imported from CDs are saved in your My Music folder by default and are not deleted by removing iTunes. While it is highly unlikely that you will lose any contents of your iTunes Library when following these steps, it is always a good idea to ensure that your iTunes library is backed up. If you're unsure how to backup, see iTunes: Back up your iTunes library by copying to an external hard drive.
    -Griff W.

  • How to add/delete single role to/from CUA

    Hi All,
    I want to add/delete single role from CUA system. I found one FM to change roles i.e BAPI_USER_LOCACTGROUPS_ASSIGN , In function module documentation said that it will overwrites all existing roles with the roles in the table parameter.I dont want to do that. I need a FM to add/delete role to CUA system. Please help me with your suggestions.
    Thanks,
    Suman

    I am not aware of another BAPI based way to do it. You will need to get the details of the Roles AND manual profiles assigned, and then re-assign the new set in the call.
    Cheers,
    Julius

  • Problem deleting multiple keywords in lightroom 5

    I am importing about 20,000 pictures from Flickr. they are all creative commons, and the end result will be the use of approximately 4000 of these in an online sign language dictionary.
    I use Bulkr to import them and this process imports the tags as well as other information such as the photographers name and url.  Many of these photos arrive with hundreds of tags, so that the total number of tags might be 20000 or more.  I need to assign my own tags and delete all the tags that the photo arrived with.  I use the lightroom batch delete to do this (the little minus sign at the top of the keyword list).  i select a keyword, hold down the shift key and scroll down.  the problem is that i cannot just scroll down to the bottom of the list.  There appear to be unpredictable keywords that cause the shift-select process not to work.  if i scroll back up and then carefully scroll part of the way back down, then there will be a point at which shift-select stops working and above that it works. 
    The end result of this is that it takes numerous shift-select-scroll down-select to delete everything so that what should take maybe 2 minutes takes 20 minutes or more. 
    The problem may be related to foreign language keywords especially chinese characters, but even what looks like a perfectly ordinary keyword can stop it.  Two recent examples: travellers cheque  and Київ. In all cases, the words can be deleted when i click directly on them.  you just cant shift-select THROUGH them.
    A separate annoyance that i will just grumble about is that i was forced to put these pictures in a separate catalog because there is always the risk that i could manage to delete my own keywords while batch-deleting everyone elses, and there is no simple way that i know of to undo this. with the separate catalog at least i wont delete all the keywords for my own pictures.

    With respect to problems deleting multiple keywords: On Windows, since at least version 3, LR has had basic bugs when you have more than about 1600 keywords showing.  (Hard to believe it isn't fixed by now.)   A simple workaround for you situation is to filter the keywords one letter at a time and then select the subset of keywords that are showing -- e.g. filter all keywords with the letter "t", then all keywords with the letter "b", etc.
    With respect to not getting the keywords into your catalog in the first place: You can define a Metadata Preset that will clear the keywords on import:

  • I can't delete a keyword plus Lightroom now automatically displays keyword folders

    Lightroom has suddenly started behaving oddly with regard to keywords and I can't seem to find reference to it anywhere, even if it is "switch" that I have accidentally turned on.
    In my set up, I have, for example, the keyword "Portrait" stored under a keyword folder "Photographic styles".  Normally only the word "Portrait" appears within the keyword box and that's how I want it, but recently whichever keyword I type, the containing folder pops up alongside it.  Note, this isn't during an export of a file, this is actually whilst keyboarding a photograph with the Library section of LR.
    Secondly, I can no longer delete a keyword by highlighting it with the keyword box in Library so, unless that word is still within the Recently Used collection of words where I can can un-highlight it, I can't remove a highlight from a photograph at all.
    Have I changed a setting by mistake or is there something market going on?
    Many thanks in advance for your help,
    Martin

    Normally only the word "Portrait" appears within the keyword box and that's how I want it, but recently whichever keyword I type, the containing folder pops up alongside it.  Note, this isn't during an export of a file, this is actually whilst keyboarding a photograph with the Library section of LR.
    It sounds like you created a top-level keyword "Portrait", so now you have two top-level keywords, "Portrait" and "Photographic styles", and you also have a child keyword "Photographic styles > Portrait".  (Note that the usual terminology is to call "Photographic sytles" a parent keyword, rather than a folder, since it is also a keyword.)
    When your Keyword List has more than one keyword whose leaf names are the same, then LR will include the parent name of the child keyword to remove ambiguity:
    To replace the top-level keyword "Portrait" by the child keyword "Photographic styles > Portrait", follow these steps:
    1. In the Keyword List panel, hover the mouse on the right edge of the line containing the top-level keyword Portrait, until you see a right arrow appear:
    Click on that right arrow, and all the pics containing the top-level "Portrait" will be shown in grid view.
    2. Select all those pics by doing Cmd-A (Mac) or Ctrl-A (Windows).
    3. In the Keyword List panel, hover the mouse over the left edge of the line containing the child keyword "Photographic styles > Portrait".  A check box will appear:
    Click on the check box and a checkmark will appear, indicating the child keyword is now assigned to all the selected photos.
    4. In the Keyword List, right-click the top-level keyword "Portrait" and select Delete:

  • Deleting ALL keywords from Lightroom database?

    Hi, gang. I've been playing around with Lightroom and Bridge and I've realized that I got very deep into adding keywords in Lightroom but that I would much rather add them in Bridge, then import them into Lightroom. The problem is that I now have amassed a huge number of keywords that migrate into Bridge and that are time-consuming to change. I'd rather just delete every keyword in Lightroom at once, then re-create them in Bridge, and THEN import them into Lightroom.
    So, does anyone know if Lightroom has one specific file that it stores in a folder somewhere that I can just delete? If I have to go through and delete each keyword one at a time, I'll just uninstall Lightroom and reinstall it (unless there's also a way to dump my whole database and start again).
    Thanks for the help!
    -A

    >Does this not need confirmation on each keyword as you delete it?
    He's been polishing his crystal ball again ;-)
    The dialog will probably tell you that keyword X will be deleted from Y photos and give you the option to Cancel or Delete All. Chose Delete All and ALL selected keywords will be deleted. The dialog is either presenting the wrong info about what will be deleted or is deleting everything when it shouldn't. Strangely, had there been 100 selected keywords then you would need to hit Cancel 100 times.

Maybe you are looking for

  • Airport Utility not always recognizing Airport Extreme

    I recently bought a new Airport Extreme so I could connect wirelessly to my iTunes library (which is too big to fit on my hard drive) and stream music to my receiver. I hooked up a USB external drive with my library on it to the Airport Extreme and I

  • Where is the duplicate?

    I have attempted to import a photo to iPhoto... but iPhoto informs me that the photo is a duplicate and already resides in my iPhoto library! Regrettably... no hint is volunteered as to where that duplicate can be found! How can I locate that photo?

  • Refresh subject area

    Hi, i am using 11g, and made some changing on admin tool. but i couldnt find them on persentation server, subject area. so how can i refresh the model? thank you

  • User manual updates

    Does anyone know if the on-line iphone user manual (which to me is very good as these things go) is a "live" document that is updated on an ongoing basis to address user issues and questions? Or do they hold their edits and periodically announce the

  • Carnt download a movie ive brought

    hey ive just brought a film off the store and its been downloading for about an hour now ands only at 9.0mb. this has happened before with movies ive rented and still they dont download. an error message came up on one of the films i rented after i l