It is very difficult to write a tagmap for any kind of xml. The files given in the tutorial as examples are all xml files (for which the tagmaps are written) and there is no need to apply any xsl on them. In my project, xml and xsl -two separate files are provided in order to convert them to PDF. I don't know each and every kind of iText tag that can be used for writing tagmaps.

And if I convert a large xml and xsl into text file and then to PDF, then I get "out of memory" error . Is it because a tree structure is formed in the memory as in case of FOP?

In the the Java code in which I am converting text into PDF, Iam reading the text file into a string and then using the "paragraph.add" function. To remove the "out of memory" problem, I have used "System.gc()" function but it has made the processing very slow - a 3MB file will take hours !!!!!!!!

What should I do to reduce the processing speed?

What should I do so that  meta-info is not lost?

If I have to write tagmaps, How should I write them for any xml and xsl?

PLEASE GUIDE

thanking you

Pooja Sharma

 


new   Sell you car, by placing a classified ad on Yahoo India Autos . It's Free!!   

Reply via email to