Iptc4xmpLocationCreated is apparently a bag of structured properties. ie. Unlike CreatorContactInfo, you need to make a bag which contains the structured properties.
But as far as I can see, you can only create a bag from a string array. (???)
Do you have any samples adding a Iptc4xmpExt:LocationCreated structure?
Thanks, otherwise the XMP/XML is working great.
asked Sep 21 '15 at 19:32
Here's an example:
answered Sep 23 '15 at 12:04
Thanks this helped greatly. For Objective C, the result doesn't work as is. The sample code created the below in the XMP XML: Note the TWO rdf:parseType="Resource" in the rdf:Bag tag. Photoshop 2015 CC didn't like this XML. No error, just ignored it and removed it from the raw data.
I fixed it by rewriting the add "rdf:li" to use NewChild and return the XML object, instead of NewChild2, and adding attribute and nodes with that.
Thanks again. Got me over the hump.
answered Sep 25 '15 at 16:40