#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    3
    Rep Power
    0

    Exclamation 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.

    Thanks
    Ciara
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,143
    Rep Power
    9398
    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?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    3
    Rep Power
    0
    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?
  6. #4
  7. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,143
    Rep Power
    9398
    PDF files are binary. What are you using to generate the PDF and what type of input does it take?

IMN logo majestic logo threadwatch logo seochat tools logo