|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: printing using a different XSL
>Hi all. One again I'm messing with stuff way over my head (though I
>understand more than I did a month ago!)--I appreciate all the patient
>assistance I've gotten! When my page gets printed, it needs to look
>different than when displayed on the screen--is there a way to use a
>different XSL for printing (with IE5) than for on screen viewing with IE5?
>Thanks. Eric
Eric,
What you want to do seems reasonable. It might be better to change the print
button to open a new window with the print formatted stuff and print that.
Call it a print preview ;-)
Using the changeStylesheet.js change it so that instead of opening document
do
newWin = window.open("about:blank", "the attributes for no buttons nav menu
etc")
newDoc = newWin.document
newDoc.write etc
newWin.print()
Note there is also a media attribute on the <?stylesheet pi
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








