I am writing an XSL file which will read data from raw xml file and application does transformation and actually generates a (X)HTML output in the browser with MSWord session in the browser.
In our application we have an option to either get the ouput in original XHTML, HTML or MSWord.
When I select MSWord, it generates the output in browser with MSword interface so that endusers can edit the report.
But this report when generated have "Potrait" orientation selected by default. This chops my report and end-users has to change it to "Landscape" and then report looks fine.
I dont know whether we can add some parameters in xslt template so it renders output in landscape.
There are two steps in the basic process of writing an XSL transformation:
1. Decide what output you want to generate.
2. Write code which generates that output.
So in your case you would have to decide what it is in the output which would set the orientation to Landscape. Perhaps you could look at an actual example which had the orientation set that way, for example. Then fix your XSLT code to generate that.
subject: Setting Orientation to "Landscape" in the XSLT for getting XHTML report output