xslt - How does XSL FO process javascript scripts? -


i have been trying time figure out way use javascript script within xsl fo template produce pdf. after alot of digging i'm starting realize may not possible however, since, understand, order of operation turning xml data rendered pdf form is

xml -> xsl(transformation) -> fo(formating gets applied) -> pdf rendering engine -> pdf

my question is, javascript execution fit within pipeline? seems clear script executed after xsl transformations have finished being performed, why alot of people run complications browser based xsl transformations, if javascript portion executed after xsl transformations, before fo formatting applied, technically should there not way still have javascript script perform action updating parameter in xsl fo document incorporated fo phase , output pdf seen?

you confusing browser formatting engine. formatting engine takes input , makes print output (not interactive output). can either put code in java or .net (depending on xslt engine) modify xsl fo before reaches formatting engine ... or (if fo engine supports it) embed javascript final output (pdf obviously) modifying happens when viewing it. no xsl fo engine (as far know) support javascript in process pipeline -- server process javascript not (normally) executed (as not in browser).


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -