Ok, so I tested Jeff's method above and all works well. Thanks Jeff!
Now, using Jeff's info, I thought I'd take this one step further, and to somewhere that I want to be. I'm experimenting with writing XMP data into the PDF file with specific information from our job database (MIS). I then plan to extract this data at a ROUTE gateway and use this as a way to route the job automatically and conditionally. To give an example - write XMP to the PDF "File Output Type" and "JPG", or "File Output Type" and "TIF" depending on the info in the job database.
I've tried getting the XMP data out of the file with the FILE PROPERTY test type, but to no avail. I guess my other option is to then write that XMP data to the JDF ticket via the HOUSE KEEPING gateway, then extract that later in the canvas using XPaths.
I feel like I am trying to reinvent the wheel here and there must be a simpler way, but I'm not seeing it.
As always, any thoughts or comments much appreciated!!
I was very happy to see others working on metadata to drive their workflows. I can route and used Housekeeping to embedded. I do not know how to write a XPath Expression to access my embedded metadata in the JDF ticket.
Can anyone help?
Once you have updated XMP info via the housekeeping gateway you should then view the ticket.jdf. Your metadata will be in that file.
If you can cut and paste the block of XML where your metadata is I can probably help you write the XPath expression to use.
I am looking for the value 11 to fill a field in a prepress gateway.