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. |
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.
|