I am using coldfusion’s imageGetIPTCMetadata() function to get the iptc keywords.
I used Photomechanics to insert some keywords in a hierarchical fashion like this
Personnel | Appointments | Assistant Chief of General Staff (ACGS), Personnel | Ranks | Royal Marine | Colour Sergeant (CSgt), Personnel | Ranks | Royal Navy | Chief Petty Officer (CPO), Personnel|Ranks|Army|Field Marshall (Fd Marshall) (FM)
But after I call the method in my CFC I get this –
How can I get the keywords with a delimeter or something so that I can reuse them in my code.

I found the solution here:
Now I can get the entire XMP xml and do all I want to do with the data there.