February 20th, 2013, 08:09 AM
XSL landscape and portrait
I am creating an XSL stylesheet. The document i am trying to create has 4 pages, the first two are landscape and the last 2 are portrait. Can anyone give me an example of the code i need to use to do this. I have done some research but i cannot find exactly what i need.
February 20th, 2013, 11:51 AM
XML and XSLT do not know what "landscape" and "portrait" are. What language are you transforming the data into? HTML and CSS? Where's it going?
February 21st, 2013, 03:17 AM
I am transforming it to a PDF file.
From what i gather by researching this, i think i need two simple-page-masters, one defining a portrait layout and the other defining landscape layout. I am just unsure of how to use these simple-page-masters.
Can anyone help me with this?
February 21st, 2013, 04:07 AM
PDF files are binary. What are you using to generate the PDF and what type of input does it take?