Page 1 of 1
Write the XML file contents into PDF
Posted: Mon Nov 11, 2013 3:07 am
by bx609311029
Write the XML file contents into PDF.
The use of private property.
It is best written switchscripter.
thank you!
Boris
Write the XML file contents into PDF
Posted: Mon Nov 11, 2013 4:45 pm
by dkelly
With the exception of XMP metadata, Switch can not modify a PDF file directly. It needs another program such as Pitstop. If you want to write a private key into a PDF you will need a specialized tool such as pdflib or a customized version of an open source tool.
Write the XML file contents into PDF
Posted: Tue Nov 12, 2013 3:16 am
by bx609311029
I should go to find these tools?Can send a link?And the method of use!thank you
Write the XML file contents into PDF
Posted: Tue Nov 12, 2013 3:19 am
by bx609311029
I tried to use XSLT converts the XML to XMP, but XMP can't pick up into PDF
Write the XML file contents into PDF
Posted: Tue Nov 12, 2013 1:26 pm
by freddyp
There is an "XMP inject" element which does exactly what you want. However, contrary to what you may think "XMP inject" does not directly inject an external XML into a PDF. When you look at the properties of "XMP inject" you will see that it injects a dataset, so your XMP has to be a dataset first.
In other words, after the transformation you pick up your XML so it becomes a dataset and then use "XMP inject". Done.
Here is an example of what your XMP should look like:
Freddy
Pieters
Enfocus
When the structure of your XMP is different, it will also not work.
Freddy