Change bars

Here should go questions about transforming XML with XSLT and FOP.
geraldk
Posts: 2
Joined: Thu Oct 19, 2006 1:11 pm

Change bars

Post by geraldk »

Hi all,

I am looking for a tool to generate change bars in my documents to mark changes from previous revisions. I would like to make use of the <fo:change-bar-begin> feature in FO, which is supported by my RenderX XEP processor. The idea is to create two files with the FO output from different versions of my report.xml file, then run a program that finds the diffs between the files and inserts the change bar tags as appropriate, and finally generate the PDF files from that.

Does anybody have a hint whether such a tool already exists, or provide a clue how complicated it would be to write one? Would it be possible to enhance oXygen's diff feature?

Thanks,

Gerald
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Gerald,

oXygen does not provide the diff output in a file so that cannot be used to obtain what you want.
The problem is not simple. You will need to get the diff information in some form and then process both files taking into account that diff information.
Delta XML I think offers the diff information in some form in a file, you may want to have a look at what they offer.

Best Regards,
George
geraldk
Posts: 2
Joined: Thu Oct 19, 2006 1:11 pm

DeltXML

Post by geraldk »

Thanks George,

the DeltaXML tool looks promising. It seems to do what I need.

Regards,
Gerald
Post Reply