This is my first post so excuse me if I'm breaking any conventions.
Well the thing is I'm developing a long term archive system in Ubuntu environment. For different reasons XML is a very strong format for long term archiving and there are numerous systems on the market today that's offering export functions to the XML format.
The XML format it self contains no graphical information what so ever of how, for instance a PDF-file looked like, just the written information and embedded pics it once contained.
So given I have a certain PDF-file it's possible to strip it down to XML and then rebuilt it once again to the PDF-file it once was - at least in theory.
In Linux you could do this from CLI with the help of XSLTPROC and FOP in two steps.
- xsltproc file.xsl file.xml > file.fo
- fop file.fo file.pdf
The absolutely crucial file here - if you want to rebuild it just the way it was - is the XSL-file.
I have found hundreds of posts discussing how to create XSL-files by hand but NONE regarding any software that could analyse the XSL-structure of a PDF-file.
I just reckon if it's possible to transform from XML-XSL-FO-PDF it must be possible to do this process backwards? Anyone has any ideas?