Does anyone know how to create a PDF catalog object to embed XML in the PDF file using Ghost开发者_开发技巧script?
You need to use a /Metadata pdfmark to add Metadata (which is what I assume you mean by 'embed XML') to the Catalog of a PDF file.
However, the Ghostscript pdfwrite device doesn't currently support the Metadata pdfmark, so this is not possible.
精彩评论