...I want your help to figure out -->From where to run iwpt_compile. (Inline Command?) Coz it didn't work.-->How to set PT. (IWPageGeneration.setPresentationTemplate(new IWPresentationTemplate('preview.tpl')) Didn't work either.Please help me out here. Any leads/help would be appreciated.
however, if you only register one PT in templating.cfg and use the other one explicitly within a script - you shouldn't have to worry about it.
Ok, so i followed your advice here, i have only Preview.xsl in templating.cfg.. and i tried to setPT for Generate.xsl.. But it gives me a PT compiler error.. So i guess i need to compile it first.. Is it?